Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
m change styling of info-box header
m change styling of info-box header
Line 2: Line 2:
--><table class="toc floatright" style="width: 300px; text-align: center; border: 1px solid #888;"><!--
--><table class="toc floatright" style="width: 300px; text-align: center; border: 1px solid #888;"><!--
   -->{{#if:{{{title|}}}|<!--
   -->{{#if:{{{title|}}}|<!--
     --><tr><td colspan="2" style="font-size: 75%; font-weight: 132%;">{{{title}}}</td></tr><!--
     --><tr><td colspan="2" style="font-size: 110%; font-weight: 132%;">{{{title}}}</td></tr><!--
   -->}}{{#if:{{{author|}}}|<!--
   -->}}{{#if:{{{author|}}}|<!--
     --><tr><!--
     --><tr><!--

Revision as of 02:46, 15 August 2007


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.