Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
m add icon and fix up formatting
m make header of the box more readable
Line 4: Line 4:
     --><tr><!--
     --><tr><!--
       --><td>[[Image:Info_icon.png|20px]]</td><!--
       --><td>[[Image:Info_icon.png|20px]]</td><!--
       --><td style="text-align: left; font-size: 110%; font-weight: bold;">{{{title}}}</td><!--
       --><td style="text-align: left; font-size: 125%; font-weight: bold; font-variant: small-caps;">{{{title}}}</td><!--
     --></tr><!--
     --></tr><!--
   -->}}{{#if:{{{author|}}}|<!--
   -->}}{{#if:{{{author|}}}|<!--
Line 64: Line 64:
  |-
  |-
  | [[Image:Info_icon.png|20px]]
  | [[Image:Info_icon.png|20px]]
  | style="font-size: 110%; font-weight: bold; text-align: left;" | Infobox Example
  | style="font-size: 125%; font-weight: bold; text-align: left; font-variant: small-caps;" | Infobox Example
  |-
  |-
  | style="text-align:left; font-size:x-small;" | Author:  
  | style="text-align:left; font-size:x-small;" | Author:  

Revision as of 17:50, 16 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.