Difference between revisions of "Template:Infobox Story"
J McKalling (Talk | contribs) (Created page with "<noinclude>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 o...") |
J McKalling (Talk | contribs) (shortened all subpage notations on the templatepage) |
||
Line 4: | Line 4: | ||
* '''title''': An optional title to display at the top of the infobox (case sensitive, defaults to <nowiki>{{</nowiki>PAGENAME<nowiki>}}</nowiki>) | * '''title''': An optional title to display at the top of the infobox (case sensitive, defaults to <nowiki>{{</nowiki>PAGENAME<nowiki>}}</nowiki>) | ||
* '''image''': An image filename depicting the subject (case sensitive, defaults to empty image, see [[Template:Articleimage]]) | * '''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''': 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 [[ | + | * '''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). | * '''nocat''': Whether or not to suppress categorization under all the chosen categories (defaults to false, which means auto categorization). | ||
Line 33: | Line 33: | ||
|label1=Type | |label1=Type | ||
− | |data1=<includeonly>{{Infobox Story/type|{{{type|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{ | + | |data1=<includeonly>{{Infobox Story/type|{{{type|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/type|legend|nocat=true}}</noinclude> |
|label2=Adventure | |label2=Adventure | ||
− | |data2=<includeonly>{{Infobox Story/adventure|lba1={{{lba1|}}}|lba2={{{lba2|}}}|lba3={{{lba3|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{ | + | |data2=<includeonly>{{Infobox Story/adventure|lba1={{{lba1|}}}|lba2={{{lba2|}}}|lba3={{{lba3|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/adventure|lba1=yes|nocat=true}}</noinclude> |
|header3=Story | |header3=Story |
Revision as of 21:51, 2 January 2013
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.