Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
m change styling
re-merge the universe box
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><table class="floatright" style="background: #DDD; border: 1px solid #CCC; width: 300px; text-align: center;"><!--
--><table class="toc floatright" style="width: 300px; text-align: center;"><!--
   -->{{#if:{{{title|}}}|<!--
   -->{{#if:{{{title|}}}|<!--
     --><tr><td colspan="2">{{{title}}}</td></tr><!--
     --><tr><td colspan="2">{{{title}}}</td></tr><!--
Line 35: Line 35:
       --></tr><!--
       --></tr><!--
     -->}}<!--
     -->}}<!--
  -->}}<!--
  -->{{#if:{{{setting|}}}|<!--
    --><tr><!--
      --><td style="font-size: x-small; text-align: left;">Setting/Universe:</td><!--
      --><td style="font-size: x-small;">{{{setting}}}</td<!--
    --></tr><!--
   -->}}<!--
   -->}}<!--
-->}}<!--
-->}}<!--
--></table><!--
--></table></includeonly><noinclude>
-->{{#if:{{{setting|}}}|<!--
  -->{{universe|{{{setting}}}}}<!--
-->}}</includeonly><noinclude>


Example of a full declaration of this template:
Example of a full declaration of this template:

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