Difference between revisions of "Template:Infobox Story"
J McKalling (Talk | contribs) m (replaced some old code with categorizer syntax) |
J McKalling (Talk | contribs) (added infobox) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>This template is used as an infobox in stories' articles. It should be the first of the article, before the general description. | + | <noinclude>{{Infobox Template |
+ | |purpose=infobox | ||
+ | |singletag=no | ||
+ | |multiline=yes | ||
+ | |gamerelated=yes | ||
+ | |suppressible=recursively | ||
+ | |choice=none | ||
+ | |cat1=Stories | ||
+ | |var1=infobox_messages!Infobox!active | ||
+ | |var2=maintenance_message!Infobox!active | ||
+ | }} | ||
+ | |||
+ | This template is used as an infobox in stories' articles. It should be the first of the article, before the general description. | ||
==Parameters== | ==Parameters== | ||
Line 25: | Line 37: | ||
{{Infobox | {{Infobox | ||
|title=<includeonly>{{#if: {{{title|}}} |{{{title|}}}}}</includeonly><noinclude>Legend of Sendell</noinclude> | |title=<includeonly>{{#if: {{{title|}}} |{{{title|}}}}}</includeonly><noinclude>Legend of Sendell</noinclude> | ||
− | | | + | |theme= |
|infoboxname=Infobox Story | |infoboxname=Infobox Story | ||
|float=yes | |float=yes | ||
Line 50: | Line 62: | ||
''example paragraph: ''Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. | ''example paragraph: ''Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 23:22, 4 June 2014
Infobox Story | |
---|---|
Purpose |
Infobox [list all] |
Single tag |
No [list all] |
Multi-line |
Yes [list all] |
Protected |
No [list all] |
Game related |
Yes [list all] |
Categorization | |
Suppressible |
Recursively [list all] |
Choice |
No choice [list all] |
Categories |
One: [list all] |
Variables | |
Names |
Multiple: [list all] |
Subpages |
This template is used as an infobox in stories' articles. It should be the first of the article, before the general description.
Parameters
- title: An optional title to display at the top of the infobox (case sensitive, defaults to {{PAGENAME}})
- image: An image filename depicting the subject (case sensitive, defaults to empty image, see Template:Articleimage)
- type: The type of the story; adventure, legend, newspaper etc. (case insensitive, defaults to "unknown", see the /type subpage)
- lba1, lba2 and lba3: Whether the subject concerns said adventure (defaults to "no", see the /adventure subpage)
- nocat: Whether or not to suppress categorization under all the chosen categories (defaults to false, which means auto categorization).
Note: The article is automatically categorized under Category:Articles without an image if no filename was specified, or Category:Articles with a missing image if the specified filename doesn't exist. The nocat parameter will also suppress these.
Syntax
Copy and paste the following for quick use:
{{Infobox Story |image= |type= |lba1= |lba2= }}
Example
On a page called "Legend of Sendell":Legend of Sendell | |
---|---|
Type |
Legend [list all] |
Adventure | |
Story |
{{Infobox Story |image=Legend of Sendell.gif |type=legend |lba1=yes |lba2= }}
example paragraph: Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell. Description text about the story, in this case the Legend of Sendell.