|
|
| Line 11: |
Line 11: |
| -->{{Infobox row | | -->{{Infobox row |
| |colspan = 2 | | |colspan = 2 |
| |data = {{{people|}}}
| | |header = {{{name|{{PAGENAME}}}}} |
| |dataClass = tg-infobox-subtitle
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |header = {{{name|{{#explode:{{PAGENAME}}| (|0}}}}} | |
| |headerClass = tg-infobox-title | | |headerClass = tg-infobox-title |
| }}<!-- | | }}<!-- |
| -->{{Infobox row | | -->{{Infobox row |
| |colspan = 2
| | |label = Player |
| |header = {{{script|}}}
| | |data = {{{player|}}} |
| |headerClass = tg-infobox-subtitle
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |condition = {{{othernames|}}}{{{titles|}}}{{{position|}}}{{{location|}}}{{{affiliation|}}}{{{language|}}}{{{birth|}}}{{{birthlocation|}}}{{{death|}}}{{{deathlocation|}}}{{{age|}}}{{{sailedwest|}}}{{{sailedfrom|}}}{{{pronun|}}}{{{notablefor|}}}
| |
| |header = Biographical Information
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Pronunciation
| |
| |data = {{{pronun|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Other names
| |
| |data = {{{othernames|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Titles | |
| |data = {{{titles|}}} | |
| }}<!-- | | }}<!-- |
| -->{{Infobox row | | -->{{Infobox row |
| |label = Position | | |label = Ancestry |
| |data = {{{position|}}} | | |data = {{{ancestry|}}} |
| }}<!-- | | }}<!-- |
| -->{{Infobox row | | -->{{Infobox row |
| |label = Location | | |label = Class |
| |data = {{{location|}}} | | |data = {{{class|}}} |
| }}<!-- | | }}<!-- |
| -->{{Infobox row | | -->{{Infobox row |
| |label = Affiliation | | |label = Deity |
| |data = {{{affiliation|}}} | | |data = {{{deity|}}} |
| }}<!-- | | }}<!-- |
| -->{{Infobox row
| |
| |label = Language
| |
| |data = {{{language|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Birth
| |
| |data = {{{birth|}}}{{#if:{{{birthlocation|}}}|<br>{{{birthlocation|}}}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Rule
| |
| |data = {{{rule|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = {{#if:{{{sailedwest|}}}|Sailed west|Death}}
| |
| |data = {{#if:{{{death|}}}{{{sailedwest|}}}|{{{death|}}}{{{sailedwest|}}}{{#if:{{{age|}}}| (aged {{{age}}})}}<br>{{{deathlocation|}}}{{{sailedfrom|}}}|{{{sailedfrom|}}}{{{deathlocation|}}}{{#if:{{{age|}}}| (aged {{{age}}})}}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Notable for
| |
| |data = {{{notablefor|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |condition = {{{house|}}}{{{family|}}}{{{parentage|}}}{{{siblings|}}}{{{spouse|}}}{{{children|}}}
| |
| |header = Family
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = House
| |
| |data = {{{house|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Family
| |
| |data = {{{family|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Parentage
| |
| |data = {{{parentage|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Siblings
| |
| |data = {{{siblings|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Spouse
| |
| |data = {{{spouse|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Children
| |
| |data = {{{children|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |condition = {{{gender|}}}{{{height|}}}{{{hair|}}}{{{eyes|}}}{{{clothing|}}}{{{weapons|}}}{{{steed|}}}
| |
| |header = Physical Description
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Gender
| |
| |data = {{{gender|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Height
| |
| |data = {{{height|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Hair colour
| |
| |data = {{{hair|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Eye colour
| |
| |data = {{{eyes|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Clothing
| |
| |data = {{{clothing|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Weaponry
| |
| |data = {{{weapons|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Steed
| |
| |data = {{{steed|}}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |label = Gallery
| |
| |data = {{#ifexist:Category:Images of {{{gallery|{{PAGENAME}}}}}|[[:Category:Images of {{{gallery|{{PAGENAME}}}}}|Images of {{{gallery|{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}}}}]]}}
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |condition = {{{audio|}}}
| |
| |header = Audio
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |data = {{{audio|}}}
| |
| |dataClass = tg-infobox-caption
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |data = {{{audiocaption|}}}
| |
| |dataClass = tg-infobox-caption
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |condition = {{{audio|}}}
| |
| |header = Timeline
| |
| }}<!--
| |
| -->{{Infobox row
| |
| |colspan = 2
| |
| |data = {{{timeline|}}}
| |
| }}<!--
| |
| --></table><!-- | | --></table><!-- |
|
| |
|
| Line 178: |
Line 45: |
| ------------- | | ------------- |
| --><noinclude> | | --><noinclude> |
| {{infobox character
| |
| | name={{{name}}}
| |
| | script={{{script}}}
| |
| | people={{{people}}}
| |
| | image={{{image}}}
| |
| | caption={{{caption}}}
| |
| | pronun={{{pronun}}}
| |
| | othernames={{{othernames}}}
| |
| | titles={{{titles}}}
| |
| | position={{{position}}}
| |
| | location={{{location}}}
| |
| | affiliation={{{affiliation}}}
| |
| | language={{{language}}}
| |
| | birth={{{birth}}}
| |
| | birthlocation={{{birthlocation}}}
| |
| | rule={{{rule}}}
| |
| | death={{{death}}}
| |
| | deathlocation={{{deathlocation}}}
| |
| | age={{{age}}}
| |
| | notablefor={{{notablefor}}}
| |
| | house={{{house}}}
| |
| | family={{{family}}}
| |
| | parentage={{{parentage}}}
| |
| | siblings={{{siblings}}}
| |
| | spouse={{{spouse}}}
| |
| | children={{{children}}}
| |
| | gender={{{gender}}}
| |
| | height={{{height}}}
| |
| | hair={{{hair}}}
| |
| | eyes={{{eyes}}}
| |
| | clothing={{{clothing}}}
| |
| | weapons={{{weapons}}}
| |
| | steed={{{steed}}}
| |
| | audio={{{audio}}}
| |
| | audiocaption={{{audiocaption}}}
| |
| | timeline={{{timeline}}}
| |
| }}
| |
|
| |
| ==Usage== | | ==Usage== |
| <pre> | | <pre> |
| {{Infobox character | | {{Infobox character |
| |name = | | |name = |
| |script =
| |
| |people =
| |
| |image = | | |image = |
| |caption = | | |caption = |
| |pronun = | | |player = |
| |othernames = | | |ancestry = |
| |titles = | | |class = |
| |position = | | |deity = |
| |location =
| |
| |affiliation =
| |
| |language =
| |
| |birth =
| |
| |birthlocation =
| |
| |rule =
| |
| |death =
| |
| |deathlocation =
| |
| |age =
| |
| |notablefor =
| |
| |house =
| |
| |family =
| |
| |parentage =
| |
| |siblings =
| |
| |spouse =
| |
| |children =
| |
| |gender =
| |
| |height =
| |
| |hair =
| |
| |eyes =
| |
| |clothing =
| |
| |weapons =
| |
| |steed =
| |
| |audio =
| |
| |audiocaption =
| |
| |timeline =
| |
| |gallery =
| |
| }} | | }} |
| </pre><!-- | | </pre> |
|
| |
|
| Category
| | [[Category:Infobox templates|{{PAGENAME}}]] |
| --------
| | </noinclude> |
| -->[[Category:Infobox templates|{{PAGENAME}}]]<!--
| |
| -->
| |
| == Template Data ==
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "image": {
| |
| "label": "Image",
| |
| "description": "Image of the character",
| |
| "example": "Jenny Dolfen - Frodo Baggins.jpg",
| |
| "type": "wiki-file-name",
| |
| "suggested": true
| |
| },
| |
| "caption": {
| |
| "label": "Image caption",
| |
| "description": "Caption of the image",
| |
| "example": "\"Frodo Baggins\" by [[Jenny Dolfen]]",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "people": {
| |
| "label": "People",
| |
| "example": "[[Hobbits|Hobbit]]",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "name": {
| |
| "label": "Name",
| |
| "description": "Name of the character",
| |
| "example": "Frodo Baggins",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "othernames": {},
| |
| "titles": {},
| |
| "position": {},
| |
| "location": {},
| |
| "affiliation": {},
| |
| "language": {},
| |
| "birth": {},
| |
| "birthlocation": {},
| |
| "death": {},
| |
| "deathlocation": {},
| |
| "age": {},
| |
| "sailedwest": {},
| |
| "sailedfrom": {},
| |
| "pronun": {},
| |
| "notablefor": {},
| |
| "rule": {},
| |
| "house": {},
| |
| "family": {},
| |
| "parentage": {},
| |
| "siblings": {},
| |
| "spouse": {},
| |
| "children": {},
| |
| "gender": {},
| |
| "height": {},
| |
| "hair": {},
| |
| "eyes": {},
| |
| "clothing": {},
| |
| "weapons": {},
| |
| "steed": {},
| |
| "gallery": {},
| |
| "audio": {},
| |
| "audiocaption": {},
| |
| "imageWidth": {
| |
| "label": "Image width",
| |
| "description": "Optional override for image width in px",
| |
| "type": "number",
| |
| "default": "320"
| |
| },
| |
| "imageHeight": {
| |
| "label": "Image height",
| |
| "description": "Optional override for image height in px",
| |
| "type": "number",
| |
| "default": "480"
| |
| }
| |
| },
| |
| "description": "Create an infobox on character pages",
| |
| "format": "block",
| |
| "paramOrder": [
| |
| "name",
| |
| "people",
| |
| "image",
| |
| "imageWidth",
| |
| "imageHeight",
| |
| "caption",
| |
| "othernames",
| |
| "titles",
| |
| "position",
| |
| "location",
| |
| "affiliation",
| |
| "language",
| |
| "birth",
| |
| "birthlocation",
| |
| "death",
| |
| "deathlocation",
| |
| "age",
| |
| "sailedwest",
| |
| "sailedfrom",
| |
| "pronun",
| |
| "notablefor",
| |
| "rule",
| |
| "house",
| |
| "family",
| |
| "parentage",
| |
| "siblings",
| |
| "spouse",
| |
| "children",
| |
| "gender",
| |
| "height",
| |
| "hair",
| |
| "eyes",
| |
| "clothing",
| |
| "weapons",
| |
| "steed",
| |
| "gallery",
| |
| "audio",
| |
| "audiocaption"
| |
| ]
| |
| }
| |
| </templatedata></noinclude>
| |
Usage
{{Infobox character
|name =
|image =
|caption =
|player =
|ancestry =
|class =
|deity =
}}