|
|
Line 1: |
Line 1: |
| <includeonly>{{Infobox|child={{{child|}}} | | <includeonly>{{Infobox|child={{{child|}}} |
| | bodyclass = biography vcard | | | bodyclass = biography vcard |
| |name = Cape | | | name = Cape |
| | above = {{Br separated entries | | | above = <span class="fn">{{{name|{{PAGENAMEBASE}}}}}</span> |
| | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorialignmfic prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</span>}}
| |
| | 2 = <span class="fn">[[Cape Name::{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}]]</span>{{#if:{{{name|}}}|{{#set:Identity={{{name|}}}}}}}
| |
| | 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</span>}}
| |
| }}
| |
| | abovestyle = {{{abovestyle|}}}
| |
|
| |
|
| | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}{{#if:{{{image|}}}|{{#set:Image={{{image|}}}}}{{Opengraph image|{{{image|}}}}}}} | | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|sizedefault=frameless|upright=1|suppressplaceholder=yes}} |
| | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | | | caption = {{{caption|}}} |
|
| |
|
| | label1 = [[WormRP:Reputation|Reputation]] | | | label1 = Author |
| | rowcellstyle1 = vertical-align: middle;
| | | data1 = {{{author|}}} |
| | data1 = {{#if: {{{noncape|}}} | | {{Cape/rep|{{{rep_morality|}}}|{{{rep_notoriety|}}}|{{{rep_criminal|}}}}} }} | |
|
| |
|
| | label3 = Author{{#if:{{{c70|}}}|s|}} | | | label2 = Pronouns |
| | data3 = [[Author::{{{author|Unknown}}}]] <small>{{user capes|{{{author|Unknown}}}|(capes)}}</small>{{#if:{{{c70|}}}|<br />[[Author::{{{author2|Unknown}}}]] <small>{{user capes|{{{author2|Unknown}}}|(capes)}}</small>|}} | | | data2 = {{{pronouns|}}} |
|
| |
|
| |label4 = Pronouns | | | label3 = Civilian name |
| | data4 = {{{pronouns|}}} | | | data3 = {{{civ_name|}}} |
|
| |
|
| | label5 = Civilian name | | | label4 = Alignment |
| | data5 = {{#if:{{{civ_name|}}}|{{#set:Identity={{{civ_name|}}}}}<span class="nickname">[[Civilian Name::{{{civ_name}}}]]</span>}}{{#if:{{{civ_name2|}}}|<br />{{#set:Identity={{{civ_name2|}}}}}<span class="nickname">[[Civilian Name::{{{civ_name2}}}]]</span>}} | | | data4 = {{{alignment|Unknown}}}[[Category:{{{alignment}}}]] |
|
| |
|
| | label6 = Alignment | | | label5 = Affiliation |
| | data6 = {{#if: {{{noncape|}}} | | {{Cape/alignment/nocat|{{{alignment|Unknown}}}}}}} | | | data5 = {{{affiliation|Unknown}}} ({{{location}}})[[Category:{{{location}}} characters]] |
|
| |
|
| | label7 = Affiliation | | | label6 = PRT Classification |
| | data7 = {{Cape/affiliation|{{{affiliation|Unknown}}}}} {{#if: {{{location|}}} | ([[Location::{{{location}}}]]) | {{#set:Location=Unknown}} }} | | | data6 = {{{class|}}} |
|
| |
|
| | label8 = PRT Classification | | | label7 = Born |
| | data8 = {{#if: {{{noncape|}}} | | {{Cape/get classifications/nocat|{{{class|}}}}}{{{class|}}} }}
| | | data7 = {{Br separated entries |
| | | |1={{#if:{{{birth_date|}}} | {{Cape/dob|{{{birth_date }}}|{{{death_date|}}} }} }} |
| | label10 = Born
| | |2={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span> }} |
| | data10 = {{Br separated entries | |
| |1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}} | |
| |2={{#if:{{{birth_date|}}} | {{Cape/dob|{{{birth_date }}}|{{{death_date|}}} }} }}
| |
| |3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span> }} | |
| }} | | }} |
| {{#if:{{{birth_name|}}} |{{#set:Identity={{{birth_name|}}}}}}}
| |
|
| |
|
| | label13 = Status | | | label8 = Died |
| | data13 = [[Status::{{Cape/status|{{{status|Unknown}}}}}]]<!--[[Category:{{Cape/status|{{{status|Unknown}}}}} capes]]-->
| | | data8 = {{Br separated entries |
| | |
| | label14 = Died
| |
| | data14 = {{Br separated entries | |
| |1={{#if:{{{death_date|}}} |{{Cape/dod|{{{birth_date }}}|{{{death_date|}}} }} }} | | |1={{#if:{{{death_date|}}} |{{Cape/dod|{{{birth_date }}}|{{{death_date|}}} }} }} |
| |2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}} | | |2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}} |
| }} | | }} |
|
| |
|
| | label15 = Cause of death | | | label9 = Status |
| | data15 = {{{death cause|{{{death_cause|}}}}}} | | | data9 = {{{status_f|{{Cape/status|{{{status|Unknown}}}}}}}}[[Category:{{Cape/status|{{{status|Unknown}}}}} characters]] |
| | |
| | label19 = Residence
| |
| | data19 = {{#if:{{{residence|}}} |[[Residence::{{{residence|}}}]]}}
| |
| | class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| |
| | |
| | label20 = Nationality
| |
| | data20 = {{#if:{{{nationality|}}} |[[Nationality::{{{nationality|}}}]]}}
| |
| | class20 = category
| |
| | |
| | label21 = Other names
| |
| | data21 = {{{othername|{{{nickname|{{{alias|}}}}}}}}}{{#if:{{{alias|}}}|{{#set:Identity={{{alias|}}}}}}}{{#if:{{{nickname|}}}|{{#set:Identity={{{nickname|}}}}}}}{{#if:{{{othername|}}}|{{#set:Identity={{{othername|}}}}}}}
| |
| | class21 = nickname
| |
| | |
| | label40 = Height
| |
| | data40 = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}}}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}}
| |
| | |
| | label41 = Weight | |
| | data41 = {{#if:{{{weight_kg|}}}{{{weight_st|}}}{{{weight_lb|}}} | {{convinfobox|{{{weight_kg|}}}|kg|{{{weight_st|}}}|st|{{{weight_lb|}}}|lb}}}}{{#if:{{{weight|}}} | {{infobox person/weight|{{{weight|}}}}}}}
| |
| | |
| | label54 = <span class="nowrap">Spouse(s)</span>
| |
| | data54 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}
| |
| | |
| | label55 = <span class="nowrap">Partner(s)</span>
| |
| | data55 = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}
| |
| | |
| | label56 = Children
| |
| | data56 = {{{children|}}}
| |
| | |
| | label57 = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
| |
| | data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}
| |
| | |
| | label58 = Relatives
| |
| | data58 = {{{relations|{{{relatives|}}}}}}
| |
| | |
| | label59 = Family
| |
| | data59 = {{{family|}}}
| |
| | |
| | label60 = Call-sign
| |
| | data60 = {{{callsign|}}}{{#if:{{{callsign|}}}|{{#set:Identity={{{callsign|}}}}}}}
| |
| | |
| | data64 = {{{misc|{{{module|}}}}}}
| |
| | data65 = {{{misc2|{{{module2|}}}}}}
| |
| | data66 = {{{misc3|{{{module3|}}}}}}
| |
| | data67 = {{{misc4|{{{module4|}}}}}}
| |
| | data68 = {{{misc5|{{{module5|}}}}}}
| |
| | data69 = {{{misc6|{{{module6|}}}}}}
| |
| | |
| | header71 = {{#if:{{{signature|}}}|Signature}}
| |
| | data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
| |
| | |
| | header73 = {{#if:{{{footnotes|}}}|Notes}}
| |
| | data74 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">
| |
| | |
| {{{footnotes}}}</div>}}
| |
| | |
| | data75 = [[Reddit link::{{#if:{{{redditlink|}}} | {{{redditlink}}} | {{Cape/reddit link|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}}} }}|Reddit Sheet]]
| |
| }} | | }} |
| {{#if: {{{author|}}} | {{Infobox
| | {{#if: {{{noncape|}}} | [[Category:Non-capes]] | [[Category:Capes]] }} |
| | subheader = [https://www.reddit.com{{{author}}} {{{author}}}]
| | {{#if:{{{c70|}}}|[[Category:Case-70s]]|}} |
| | data1 = {{flair|{{{author}}}}}
| | {{#ifeq:{{{leader|}}} | true | {{#set:Leader=true}}[[Category:Leaders]] }} |
| }} |}}
| | {{#cargo_store:_table=characters}} |
| {{#if: {{{author2|}}} | {{Infobox
| |
| | subheader = [https://www.reddit.com{{{author2}}} {{{author2}}}]
| |
| | data1 = {{flair|{{{author2}}}}}
| |
| }} |}}
| |
| <!-- {{#if: {{{noncape|}}} | [[Category:Non-capes]] | <includeonly>[[Category:Capes]]</includeonly> }} -->
| |
| {{#set:Flair tag={{#if: {{{flair tag|}}} | {{{flair tag}}} | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} }} }}
| |
| <!-- {{#if:{{{c70|}}}|[[Category:Case-70s]]|}} -->
| |
| <!-- {{#ifeq:{{{leader|}}} | true | {{#set:Leader=true}}[[Category:Leaders]] }} -->
| |
| </includeonly><noinclude> | | </includeonly><noinclude> |
| <templatedata>
| | {{#cargo_declare:_table=characters |
| { | | |name=String |
| "params": {
| | |location=Page |
| "name": {
| | |status_f=String |
| "label": "Cape Name",
| | |author=List (,) of String |
| "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",
| | |alignment=Page |
| "example": "Good Samaritan",
| | |affiliation=List (,) of Page |
| "type": "line",
| | |civ_name=String |
| "autovalue": "{{subst:PAGENAME}}",
| | |class=List (,) of String |
| "required": true
| | |birth_date=Date |
| },
| | }} |
| "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> | | </noinclude> |