Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
more fixes
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#vardefine:title|{{#ifeq:{{{title| }}}| |{{#ifeq:{{NAMESPACE}}|User|{{SUBPAGENAME}}| }}|{{{title}}}}}}}
<table class="toc floatright" style="border: 1px solid rgb(170, 170, 170); width: 300px; text-align: center;">
{{#vardefine:author|{{#ifeq:{{{author| }}}| |{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}| }}|{{{author}}}}}}}
<tr>
{| class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;"
{{#if:{{{title|}}}|<td colspan="2">{{{title}}}</td>}}
|-
</tr>
| style="text-align: center;" colspan="2" | ''{{#var:title}}''
<tr>
|-
{{#if:{{{author|}}}|<td style="text-align: left; font-size: x-small;">Author:</td><td style="text-align: left; font-size: x-small;">{{#if:{{{contact|}}}|[mailto:{{{contact}}} {{{author}}}]|{{{author}}}}}</td>}}
| style="text-align:left; font-size:x-small;" | Author:
</tr>
| {{#ifeq:{{{contact| }}}| |{{#var:author}}|[mailto:{{{contact}}} {{#var:author}}]}}
</table>
|-
| style="text-align:left; font-size:x-small;" | Website:
| {{#ifeq:{{{website| }}}| |''Unknown''|[{{{website}}} {{{website}}}]}}
|-
| style="text-align:left; font-size:x-small;" | Setting:
| {{{setting|''Custom (possibly)''}}}
|-
| style="text-align:left; font-size:x-small;" | Transformation Type:
| {{{type|''Unknown''}}}
|-
| style="text-align:left; font-size:x-small;" | Transformation:
| {{{tf|''Unknown''}}}
|-
| style="text-align:left; font-size:x-small;" | Genre:
| {{{genre|''Unknown''}}}
|}
{{#ifeq:{{{series| }}}| ||{{series box|series={{{series}}} {{#ifeq:{{{position| }}}| ||&#35;{{{position}}}}}|previous={{{previous|<b>None</b>}}} |next={{{next|<b>None</b>}}}}}}}
{{#ifeq:{{{series| }}}| ||{{series box|series={{{series}}} {{#ifeq:{{{position| }}}| ||&#35;{{{position}}}}}|previous={{{previous|<b>None</b>}}} |next={{{next|<b>None</b>}}}}}}}
</includeonly><noinclude>
</includeonly><noinclude>
<nowiki>{{info|author=&lt;author name&gt;|title=&lt;story title&gt;|website=&lt;author website&gt;|contact=&lt;author email&gt;|type=&lt;animal, mythical, etc...&gt;|setting=&lt;universe&gt;|tf=&lt;main transformation - like: Human(Male) to Horse(Female)&gt;|series=&lt;series name&gt;|position=&lt;position of story in series&gt;|previous=&lt;link to previous story in series&gt;|next=&lt;link to next story in series&gt;}}</nowiki>
<nowiki>{{info|author=&lt;author name&gt;|title=&lt;story title&gt;|website=&lt;author website&gt;|contact=&lt;author email&gt;|setting=&lt;universe&gt;|series=&lt;series name&gt;|position=&lt;position of story in series&gt;|previous=&lt;link to previous story in series&gt;|next=&lt;link to next story in series&gt;}}</nowiki>


Example:
Example:

Revision as of 02:21, 10 August 2007

{{info|author=<author name>|title=<story title>|website=<author website>|contact=<author email>|setting=<universe>|series=<series name>|position=<position of story in series>|previous=<link to previous story in series>|next=<link to next story in series>}}

Example:

Infobox Example
Author: Pornrat Watanabe
Website: http://watanabe.com
Setting: Xanadu
Transformation Type: Mythical
Transformation: Human to Dragon
Genre: Fantasy

{{info|author=Pornrat Watanabe|title=Infobox Example|contact=pornrat@watanabe.com|website=http://watanabe.com|setting=Xanadu|type=Mythical|tf=Human to Dragon|genre=Fantasy}}

All parameters are optional.