Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
| area
| area
| population
| population
| elevation
| setting
| setting
}}
}}
Line 49: Line 48:
| area =  
| area =  
| population =  
| population =  
| elevation =
| setting =  
| setting =  
}}
}}
Line 73: Line 71:
; <code>area</code>:  
; <code>area</code>:  
; <code>population</code>:  
; <code>population</code>:  
; <code>elevation</code>:
; <code>setting</code>:  
; <code>setting</code>:  


Line 84: Line 81:
"name": {
"name": {
"label": "Name",
"label": "Name",
"description": "name of the item",
"description": "name of the country",
"type": "string",
"type": "string"
"default": "{{PAGENAME}}"
},
},
"tag": {
"tag": {
"label": "Tag",
"label": "Tag",
"description": "tag line of the item",
"description": "tagline of the country",
"type": "string"
"type": "string"
},
"continent": {
"label": "Continent",
"description": "name of the continent the country is on",
"type": "wiki-page-name"
},
},
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "image of the item",
"description": "orthographic image of the continent that the country is on",
"type": "wiki-file-name",
"type": "wiki-file-name"
"suggested": true
},
},
"caption": {
"caption": {
Line 104: Line 104:
"type": "string"
"type": "string"
},
},
"rarity": {
"capital": {
"label": "Rarity",
"label": "Capital",
"description": "rarity of the item",
"description": "the capital of the country",
"example": "Legendary",
"type": "wiki-page-name"
"type": "string",
"default": "Common",
"required": true
},
},
"type": {
"largest_city": {
"label": "Type",
"label": "Largest City",
"description": "the item type",
"description": "the largest city in the country",
"example": "Trinket",
"type": "wiki-page-name"
"type": "string",
"suggested": true
},
},
"attunement": {
"language": {
"label": "Attunement",
"label": "Language",
"description": "if the item requires attunement, input yes, otherwise leave blank",
"description": "list of major languages",
"type": "wiki-template-name"
},
"people": {
"label": "People",
"description": "list of the major people/races that reside within the country",
"type": "wiki-template-name"
},
"religion": {
"label": "Religion",
"description": "list of major religions practiced by the country",
"type": "wiki-template-name"
},
"demonym": {
"label": "Demonym",
"description": "what are the people of the country called",
"type": "string"
"type": "string"
},
},
"cursed": {
"founded": {
"label": "Cursed",
"label": "Founded",
"description": "if the item is cursed input yes, otherwise leave blank",
"description": "the date the country was founded",
"type": "wiki-template-name"
},
"founded_by": {
"label": "Founded by",
"description": "who founded the country",
"type": "wiki-page-name"
},
"government": {
"label": "Government",
"description": "type of government",
"type": "string"
"type": "string"
},
},
"value": {
"leader_title": {
"label": "Value",
"label": "Leader Title",
"description": "the price the item goes for",
"description": "the title of the leader",
"type": "string",
"type": "string"
"suggested": true
},
},
"creator": {
"leader_name": {
"label": "Creator",
"label": "Leader Name",
"description": "who created the item",
"description": "name of the current leader",
"type": "string"
"type": "wiki-page-name"
},
},
"location": {
"area": {
"label": "Location",
"label": "Area",
"description": "for unique items, where is it currently if known",
"description": "the total area of the country",
"type": "string"
"type": "string"
},
},
"firstappears": {
"population": {
"label": "First Appearance",
"label": "Population",
"description": "what session did the item first appear in",
"description": "estimated population of the country",
"type": "string"
"type": "string"
},
},
"lastappears": {
"setting": {
"label": "Latest Appearance",
"label": "Setting",
"description": "the latest session the item appeared in, if different from first appearance"
"description": "the setting the country is a part of",
"type": "wiki-page-name"
}
}
}
}

Revision as of 19:10, 24 May 2022

This template can be used to add at-a-glance information on TTRPG campaigns.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
General Information
Language(s){{{language}}}
{{Infobox Country
| name = 
| tag = 
| continent = 
| image = 
| caption = 
| capital = 
| largest_city = 
| language = 
| people = 
| religion = 
| demonym = 
| founded = 
| founded_by = 
| government = 
| leader_title = 
| leader_name = 
| area = 
| population = 
| setting = 
}}

Parameters

name
tag
continent
image
caption
capital
largest_city
language
people
religion
demonym
founded
founded_by
government
leader_title
leader_name
area
population
setting

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox test

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

name of the country

Stringoptional
Tagtag

tagline of the country

Stringoptional
Continentcontinent

name of the continent the country is on

Page nameoptional
Imageimage

orthographic image of the continent that the country is on

Fileoptional
Captioncaption

caption of the image

Stringoptional
Capitalcapital

the capital of the country

Page nameoptional
Largest Citylargest_city

the largest city in the country

Page nameoptional
Languagelanguage

list of major languages

Templateoptional
Peoplepeople

list of the major people/races that reside within the country

Templateoptional
Religionreligion

list of major religions practiced by the country

Templateoptional
Demonymdemonym

what are the people of the country called

Stringoptional
Foundedfounded

the date the country was founded

Templateoptional
Founded byfounded_by

who founded the country

Page nameoptional
Governmentgovernment

type of government

Stringoptional
Leader Titleleader_title

the title of the leader

Stringoptional
Leader Nameleader_name

name of the current leader

Page nameoptional
Areaarea

the total area of the country

Stringoptional
Populationpopulation

estimated population of the country

Stringoptional
Settingsetting

the setting the country is a part of

Page nameoptional