Template:Cape: Difference between revisions
add some fucking status normalization |
add template data WIP |
||
Line 120: | Line 120: | ||
{{#if:{{{c70|}}}|[[Category:Case-70s]]|}} | {{#if:{{{c70|}}}|[[Category:Case-70s]]|}} | ||
{{#ifeq:{{{leader|}}} | true | {{#set:Leader=true}} }} | {{#ifeq:{{{leader|}}} | true | {{#set:Leader=true}} }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Cape Name", | |||
"description": "Your cape name. If you don't have a cape name, put their civilian name here instead. In most cases, this is also the name of the Wiki page", | |||
"example": "Good Samaritan", | |||
"type": "line", | |||
"autovalue": "{{subst:PAGENAME}}", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Faceclaim", | |||
"description": "Your uploaded faceclaim, to be displayed in the sidebar.", | |||
"example": "Misfit.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"label": "Faceclaim caption", | |||
"description": "Text to go below the image, for example to describe it.", | |||
"example": "Phalanx and his Droids in a fighting pose", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"rep_morality": { | |||
"label": "Morality", | |||
"description": "See [[WormRP:Reputation]]", | |||
"example": "0", | |||
"type": "line", | |||
"autovalue": "", | |||
"suggested": true | |||
}, | |||
"rep_notoriety": { | |||
"label": "Notoriety", | |||
"description": "See [[WormRP:Reputation]]", | |||
"example": "E", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"rep_criminal": { | |||
"label": "Criminal Status", | |||
"description": "See [[WormRP:Reputation]]", | |||
"example": "?", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"description": "Your reddit name, including the /u/. This is case-sensitive", | |||
"example": "/u/Magos_Nashoid", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"civ_name": { | |||
"label": "Civilian Name", | |||
"description": "Your cape's civ name, if known", | |||
"example": "Elizabeth Sophie Delaney", | |||
"type": "line", | |||
"autovalue": "", | |||
"suggested": true | |||
}, | |||
"alignment": { | |||
"label": "Alignment", | |||
"description": "One of: Hero, Villain, Rogue, Mercenary, Vigilante, Unknown", | |||
"example": "Vigilante", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"affiliation": { | |||
"label": "Affiliation", | |||
"description": "The group your cape is in. For example: Protectorate, Wards, Furies, etc. Ask a staff member if you're having trouble.", | |||
"example": "Be Gay Do Crime", | |||
"type": "line", | |||
"default": "None", | |||
"required": true | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "The city the cape is located in", | |||
"example": "Devilfish", | |||
"type": "line", | |||
"default": "{{subst:WormRP:Active_location}}", | |||
"required": true | |||
}, | |||
"class": { | |||
"label": "PRT Classification", | |||
"description": "PRT threat classification. Numbers are optional. Please use the format as given in the example so that scripts can read it.", | |||
"example": "{{cape/class|Tinker}} ({{cape/class|Blaster|5}}, {{cape/class|Mover|4}})", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"birth_date": { | |||
"label": "Date of Birth", | |||
"description": "Character's date of birth, if applicable", | |||
"example": "1993-12-08", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"birth_place": { | |||
"label": "Place of Birth", | |||
"description": "Where the character was born, if applicable", | |||
"example": "[[Pineland Colony]], Minnesota", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "One of: Active, NPC, Lore, Deceased", | |||
"example": "Active", | |||
"type": "line", | |||
"default": "Active", | |||
"required": true | |||
}, | |||
"height_cm": { | |||
"label": "Height (cm)", | |||
"description": "Height. Use either the metric or imperial options, do not mix and match!", | |||
"example": "160", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"height_ft": { | |||
"label": "Height (ft)", | |||
"description": "Height. Use either the metric or imperial options, do not mix and match!", | |||
"example": "5", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"height_in": { | |||
"label": "Height (in)", | |||
"description": "Height. Use either the metric or imperial options, do not mix and match!", | |||
"example": "3", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"redditlink": { | |||
"label": "Reddit Link", | |||
"description": "A link to the reddit page of the approved cape.", | |||
"example": "https://www.reddit.com/r/wormrp/comments/kbvho6/tarrasque/", | |||
"type": "url", | |||
"autovalue": "", | |||
"suggested": true | |||
}, | |||
"flair tag": { | |||
"label": "Flair tag", | |||
"description": "If you want your reddit flair to say something else, put it here. This is used, for example, to shorten a long cape name so it fits inside the flair (eg \"Persephone\" => \"Perse\")", | |||
"example": "Perse", | |||
"type": "line" | |||
} | |||
}, | |||
"description": "This template contains most of the cape metadata, and presents itself as the sidebar on the right of the page. In addition, it provides a lot of the provided information as machine-readable metadata for stuff like the [[Main Page]] and roles on the Discord.\n\nThere are additional options not shown in the wizard, if you are interested please ask on #wiki_support or look at the source of other characters' pages that have what you're looking for.", | |||
"paramOrder": [ | |||
"name", | |||
"civ_name", | |||
"redditlink", | |||
"flair tag", | |||
"image", | |||
"caption", | |||
"status", | |||
"rep_morality", | |||
"rep_notoriety", | |||
"rep_criminal", | |||
"author", | |||
"alignment", | |||
"affiliation", | |||
"location", | |||
"class", | |||
"birth_date", | |||
"birth_place", | |||
"height_ft", | |||
"height_in", | |||
"height_cm" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 10:17, 13 December 2020
Cape Name::Cape | |||||||
---|---|---|---|---|---|---|---|
Reputation |
| ||||||
Author | Author::Unknown | ||||||
Alignment | Alignment::Unknown | ||||||
Affiliation | Affiliation::None {{#set:Location=Unknown}} | ||||||
Status | Status::Unknown | ||||||
Reddit Sheet | |||||||
{{#set:Flair tag=Cape }}
This template contains most of the cape metadata, and presents itself as the sidebar on the right of the page. In addition, it provides a lot of the provided information as machine-readable metadata for stuff like the [[Main Page]] and roles on the Discord. There are additional options not shown in the wizard, if you are interested please ask on #wiki_support or look at the source of other characters' pages that have what you're looking for.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Cape Name | name | Your cape name. If you don't have a cape name, put their civilian name here instead. In most cases, this is also the name of the Wiki page
| Line | required |
Civilian Name | civ_name | Your cape's civ name, if known
| Line | suggested |
Reddit Link | redditlink | A link to the reddit page of the approved cape.
| URL | suggested |
Flair tag | flair tag | If you want your reddit flair to say something else, put it here. This is used, for example, to shorten a long cape name so it fits inside the flair (eg "Persephone" => "Perse")
| Line | optional |
Faceclaim | image | Your uploaded faceclaim, to be displayed in the sidebar.
| File | suggested |
Faceclaim caption | caption | Text to go below the image, for example to describe it.
| String | suggested |
Status | status | One of: Active, NPC, Lore, Deceased
| Line | required |
Morality | rep_morality | See [[WormRP:Reputation]]
| Line | suggested |
Notoriety | rep_notoriety | See [[WormRP:Reputation]]
| Line | suggested |
Criminal Status | rep_criminal | See [[WormRP:Reputation]]
| Line | suggested |
Author | author | Your reddit name, including the /u/. This is case-sensitive
| Line | required |
Alignment | alignment | One of: Hero, Villain, Rogue, Mercenary, Vigilante, Unknown
| Line | required |
Affiliation | affiliation | The group your cape is in. For example: Protectorate, Wards, Furies, etc. Ask a staff member if you're having trouble.
| Line | required |
Location | location | The city the cape is located in
| Line | required |
PRT Classification | class | PRT threat classification. Numbers are optional. Please use the format as given in the example so that scripts can read it.
| Line | suggested |
Date of Birth | birth_date | Character's date of birth, if applicable
| Date | suggested |
Place of Birth | birth_place | Where the character was born, if applicable
| Line | suggested |
Height (ft) | height_ft | Height. Use either the metric or imperial options, do not mix and match!
| Number | suggested |
Height (in) | height_in | Height. Use either the metric or imperial options, do not mix and match!
| Number | suggested |
Height (cm) | height_cm | Height. Use either the metric or imperial options, do not mix and match!
| Number | suggested |