Template:Info: Difference between revisions

From Shifti
Jump to navigation Jump to search
refactor code, add a better example and basically make the infobox easier to use.
m test a fixup
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;">
<table class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;">
<tbody>
{{#ifeq:{{{title| }}}| |
{{#ifeq:{{{title| }}}| |
   {{#ifeq:{{NAMESPACE}}|User|
   {{#ifeq:{{NAMESPACE}}|User|
Line 74: Line 75:
   </tr>
   </tr>
}}   
}}   
</tbody>
</table>
</table>
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 01:08, 10 August 2007

{{info|author=<author name>|title=<story title>|website=<author website>|contact=<author email>|type=<animal, mythical, etc...>|setting=<universe>|tf=<main transformation - like: Human(Male) to Horse(Female)>|series=<series name>|position=<position of story in series>|previous=<link to previous story in series>|next=<link to next story in series>}}

Example:

Infobox Example
Author: Pornrat Watanabe
Authors Website: http://watanabe.com
Setting: Xanadu
TF Type: Mythical
Transformation: Human to Dragon
Genre: Fantasy

{{info|author=Pornrat Watanabe|title=Infobox Example|contact=pornrat@watanabe.com|website=http://watanabe.com|setting=Xanadu|type=Mythical|tf=Human to Dragon|genre=Fantasy}}

All parameters are optional.