Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
m make header of the box more readable
add clear demarkation to the "position" operand's output
Line 24: Line 24:
     --><tr><!--
     --><tr><!--
       --><td style="font-size: x-small; text-align: left;">Series:</td><!--
       --><td style="font-size: x-small; text-align: left;">Series:</td><!--
       --><td style="font-size: x-small;">{{{series}}} {{#if:{{{position|}}}|&#35;{{{position}}}}}</td><!--
       --><td style="font-size: x-small;">{{{series}}} {{#if:{{{position|}}}|(&#35;{{{position}}})}}</td><!--
     --></tr><!--
     --></tr><!--
     -->{{#if:{{{previous|}}}|<!--
     -->{{#if:{{{previous|}}}|<!--

Revision as of 23:34, 9 January 2009


Example of a full declaration of this template:

{{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>
|genre=<the genre of the story>}}

Example of how it looks:

Infobox Example
Author: Pornrat Watanabe
Website: http://watanabe.com
Genre: Fantasy
Setting/Universe: Xanadu
{{info
|author=Pornrat Watanabe
|title=Infobox Example
|contact=pornrat@watanabe.com
|website=http://watanabe.com
|setting=Xanadu
|genre=Fantasy}}

All parameters are optional.