Template:Location: Difference between revisions
From Firrhna Project Wiki
Jump to navigationJump to search
firrhna>FANDOM m (1 revision: Starter Wiki Refresh) |
Kawa-neechan (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
<table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name|{{PAGENAME}}}}}</th></tr> | |||
{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|260px]] | |||
{{#if:{{{imagecaption|}}}|''{{{imagecaption}}}''}}</td> | |||
</tr>}} | |||
{{#if:{{{tabber|}}}|<tr> | |||
<td colspan="2" class="infobox-image">{{{tabber}}}</td> | |||
</tr>}} | |||
</ | {{#if:{{{type|}}}|<tr> | ||
<th class="infobox-label">Type</th> | |||
<td class="infobox-data">{{{type}}}</td> | |||
</tr>}} | |||
{{#if:{{{location|}}}|<tr> | |||
<th class="infobox-label">Location</th> | |||
<td class="infobox-data">{{{location}}}</td> | |||
</tr>}} | |||
{{#if:{{{inhabitants|}}}|<tr> | |||
<th class="infobox-label">Inhabitants</th> | |||
<td class="infobox-data">{{{inhabitants}}}</td> | |||
</tr>}}</table> | |||
</includeonly> | |||
<includeonly>{{Namespace|main=[[Category:Locations]]}}</includeonly> | |||
<noinclude> | |||
{{Location | |||
| name = Firrhna Prime | |||
| image = Felis 1.png | |||
| type = Planet | |||
| location = Firrhna system | |||
| inhabitants = Kitties! | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"example": "Firrhna Prime", | |||
"type": "string", | |||
"required": true, | |||
"label": "Name", | |||
"autovalue": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"example": "Felis_1.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"imagecaption": { | |||
"label": "Image caption", | |||
"type": "string" | |||
}, | |||
"tabber": { | |||
"type": "content", | |||
"label": "Tabber" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"example": "Planet", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"type": "string", | |||
"label": "Location", | |||
"example": "Firrhna system" | |||
}, | |||
"inhabitants": { | |||
"type": "string", | |||
"label": "Inhabitants", | |||
"example": "Kitties!" | |||
} | |||
}, | |||
"description": "An infobox for locations." | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 13:45, 10 September 2023
Firrhna Prime | |
---|---|
Type | Planet |
Location | Firrhna system |
Inhabitants | Kitties! |
An infobox for locations.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description
| String | required |
Image | image | no description
| File | optional |
Image caption | imagecaption | no description | String | optional |
Tabber | tabber | no description | Content | optional |
Type | type | no description
| String | optional |
Location | location | no description
| String | optional |
Inhabitants | inhabitants | no description
| String | optional |