Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#vardefine:title|{{#ifeq:{{{title| }}}| |{{#ifeq:{{NAMESPACE}}|User|{{SUBPAGENAME}}| }}|{{{title}}}}}}}
{{#vardefine:author|{{#ifeq:{{{author| }}}| |{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}| }}|{{{author}}}}}}}
{| class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;"
|-
| style="text-align: center;" colspan="2" | ''{{#var:title}}''
|-
| style="text-align:left; font-size:x-small;" | Author:
| {{#ifeq:{{{contact| }}}| |{{#var:author}}|[mailto:{{{contact}}} {{#var:author}}]}}
|-
| 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''}}}
|}
<!--
<table class="toc floatright" style="border: 1px solid rgb(170, 170, 170); width: 300px; text-align: center;">
<table class="toc floatright" style="border: 1px solid rgb(170, 170, 170); width: 300px; text-align: center;">
<tr>
<tr>
Line 7: Line 32:
{{#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>}}
{{#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>}}
</tr>
</tr>
</table>
</table> -->
{{#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>

Revision as of 02:23, 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.