Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
m update to take advantage of {{universe}} (and fix the example that somehow never got updated along with the template)
m update styling
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><table class="toc floatright" style="border: 1px solid rgb(170, 170, 170); width: 300px; text-align: center;"><!--
--><table class="floatright" style="background: #F0FFFF; border: 1px thin solid black; width: 300px; text-align: center;"><!--
   -->{{#if:{{{title|}}}|<!--
   -->{{#if:{{{title|}}}|<!--
     --><tr><td colspan="2">{{{title}}}</td></tr><!--
     --><tr><td colspan="2">{{{title}}}</td></tr><!--
Line 52: Line 52:


Example of how it looks:
Example of how it looks:
{| class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;"
{| class="floatright" style="background: #F0FFFF; border: thin solid black; width:300px; text-align:center;"
  |-
  |-
  | style="text-align: center;" colspan="2" | ''Infobox Example''
  | style="text-align: center;" colspan="2" | ''Infobox Example''

Revision as of 02:13, 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
icon
icon
Xanadu story universe
{{info
|author=Pornrat Watanabe
|title=Infobox Example
|contact=pornrat@watanabe.com
|website=http://watanabe.com
|setting=Xanadu
|genre=Fantasy}}

All parameters are optional.