Template:Info: Difference between revisions
Jump to navigation
Jump to search
ShadowWolf (talk | contribs) No edit summary |
ShadowWolf (talk | contribs) m my mistake - I didn't get rid of all of the poor form of the code (and I cleaned up the code a bit more) |
||
| 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="toc floatright" style="border: 1px solid rgb(170, 170, 170); width: 300px; text-align: center;"> | ||
{{#if:{{{title|}}}|<tr><td colspan="2">{{{title}}}</td></tr>}} | |||
{{#if:{{{title|}}}|<td colspan="2">{{{title}}}</td> | {{#if:{{{author|}}}|<tr><td style="text-align: left; font-size: x-small;">Author:</td><td style="font-size: x-small;">{{#if:{{{contact|}}}|[mailto:{{{contact}}} {{{author}}}]|{{{author}}}}}</td></tr>}} | ||
</tr> | {{#if:{{{website|}}}|<tr><td style="text-align: left; font-size: x-small;">Website:</td><td style="font-size: x-small;">{{{website}}}</td></tr>}} | ||
{{#if:{{{setting|}}}|<tr><td style="text-align: left; font-size: x-small;">Setting:</td><td style="font-size: x-small;">{{{setting}}}</td></tr>}} | |||
{{#if:{{{author|}}}|<td style="text-align: left; font-size: x-small;">Author:</td><td style="font-size: x-small;">{{#if:{{{contact|}}}|[mailto:{{{contact}}} {{{author}}}]|{{{author}}}}}</td> | |||
</tr> | |||
{{#if:{{{website|}}}|<td style="text-align: left; font-size: x-small;">Website:</td><td style="font-size: x-small;">{{{website}}}</td> | |||
</tr> | |||
{{#if:{{{setting|}}}|<td style="text-align: left; font-size: x-small;">Setting:</td><td style="font-size: x-small;">{{{setting}}}</td> | |||
</tr> | |||
</table> | </table> | ||
{{#if: {{{series|}}} | | {{#if:{{{series|}}}|{{#if:{{{previous|}}}|{{#if:{{{next|}}}|{{series box|series={{{series}}} {{#if:{{{position|}}}|#{{{position}}}}}|next={{{next}}}|previous={{{previous}}}}}|{{series box|series={{{series}}} {{#if:{{{position|}}}|#{{{position}}}}}|previous={{{previous}}}}}}}|{{#if:{{{next|}}}|{{series box|series={{{series}}} {{#if:{{{position|}}}|#{{{position}}}}}|next={{{next}}}}}|{{series box|series={{{series}}}}}}}}}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<nowiki>{{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>}}</nowiki> | <nowiki>{{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>}}</nowiki> | ||
Revision as of 02:58, 10 August 2007
{{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>}}
Example:
| Infobox Example | |
| Author: | Pornrat Watanabe |
| Website: | http://watanabe.com |
| Setting: | Xanadu |
| Transformation 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.