Difference between revisions of "Template:Masquerade PC"
(Undo revision 11074 by Annie B. US2018100133 (talk)) Tag: Undo |
|||
(68 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{Masquerade PC | {{Masquerade PC | ||
|name= | |name= | ||
+ | |portrait= | ||
+ | |pronouns= | ||
|type= | |type= | ||
|clan= | |clan= | ||
Line 17: | Line 19: | ||
|domitorsocialclass= | |domitorsocialclass= | ||
|family= | |family= | ||
+ | |territory= | ||
|position= | |position= | ||
|pcgroup1= | |pcgroup1= | ||
Line 22: | Line 25: | ||
|pcgroup2= | |pcgroup2= | ||
|pcgroup2type= | |pcgroup2type= | ||
+ | |pcgroup3= | ||
+ | |pcgroup3type= | ||
|furtherinfopic= | |furtherinfopic= | ||
|desc= | |desc= | ||
Line 30: | Line 35: | ||
|oocvitalspic= | |oocvitalspic= | ||
|player= | |player= | ||
+ | |playerpronouns= | ||
|playeremail= | |playeremail= | ||
|mesnumber= | |mesnumber= | ||
|vss= | |vss= | ||
|domain= | |domain= | ||
− | |||
|st= | |st= | ||
|stemail= | |stemail= | ||
+ | |notvst= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 48: | Line 54: | ||
Edit the page or click "View Source" to see the template text.</noinclude> | Edit the page or click "View Source" to see the template text.</noinclude> | ||
− | <includeonly>__NOTOC__ __NOEDITSECTION__ | + | <includeonly>{{#default_form:Masquerade PC}}__NOTOC__ __NOEDITSECTION__<div id="masq-container"> |
− | <div id="masq | + | <div id="masq-title" class="clearfix"><span id="my-title">{{{name}}}</span><div id="masq-badges">{{#if: {{{clan|}}}|[[File:{{{clan}}}.PNG|100px]]}} {{#if: {{{sect|}}}|[[File:{{{sect}}}.PNG|100px]]}}{{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Dhampir|[[File:Anarch.PNG|100px]]}}}}</div></div> |
− | <div id="masq | + | <div id="masq-icvitals" class="clearfix"> |
− | + | <div id="masq-portrait-box"> | |
− | <div id="masq | + | <div id="masq-portrait"> |
− | + | {{#if: {{{portrait|}}}|[[File:{{{portrait}}}]] | |
− | <div id="masq | + | |{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]] |
− | + | |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg]] | |
− | <div id="masq | + | |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg]] |
− | {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png | + | |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif]] |
− | + | |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp]] | |
− | + | }} | |
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
Line 70: | Line 73: | ||
</div> | </div> | ||
</div> | </div> | ||
− | + | {| id="masq-icvitals-table" | |
− | {| id="masq | + | {{#if: {{{characterpronouns|}}}|<nowiki/> |
− | {{#switch: {{{type}}}| Ghoul|Revenant|Dhampir = | + | {{!}}- |
+ | !scope="row"{{!}}Pronouns | ||
+ | {{!}} {{{characterpronouns}}} | ||
+ | }}{{#switch: {{{type}}}| Ghoul|Revenant|Dhampir = <nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Creature Type | !scope="row"{{!}}Creature Type | ||
Line 79: | Line 85: | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Clan | !scope="row"{{!}}Clan | ||
− | {{!}}[[:Category:{{{clan}}}|{{{clan}}}]] | + | {{!}} [[:Category:{{{clan}}}|{{{clan}}}]] |
}}{{#if: {{{clanfaction|}}}|<nowiki/> | }}{{#if: {{{clanfaction|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Clan Faction | !scope="row"{{!}}Clan Faction | ||
− | {{!}}[[:Category:{{{clanfaction}}}|{{{clanfaction}}}]] | + | {{!}} [[:Category:{{{clanfaction}}}|{{{clanfaction}}}]] |
}}{{#if: {{{sect|}}}|<nowiki/> | }}{{#if: {{{sect|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Sect | !scope="row"{{!}}Sect | ||
− | {{!}}[[:Category:{{{sect}}}|{{{sect}}}]] | + | {{!}} [[:Category:{{{sect}}}|{{{sect}}}]] |
}}{{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Dhampir|<nowiki/> | }}{{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Dhampir|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Sect | !scope="row"{{!}}Sect | ||
− | {{!}}[[:Category:Anarch|Anarch]] | + | {{!}} [[:Category:Anarch|Anarch]] |
}}}}{{#if: {{{sectfaction|}}}|<nowiki/> | }}}}{{#if: {{{sectfaction|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Sect Faction | !scope="row"{{!}}Sect Faction | ||
− | {{!}}[[:Category:{{{sectfaction}}}|{{{sectfaction}}}]] | + | {{!}} [[:Category:{{{sectfaction}}}|{{{sectfaction}}}]] |
}}{{#if: {{{socialclass|}}}|<nowiki/> | }}{{#if: {{{socialclass|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Social Class | !scope="row"{{!}}Social Class | ||
− | {{!}}{{{socialclass}}} | + | {{!}} {{{socialclass}}} |
}}{{#if: {{{morality|}}}|<nowiki/> | }}{{#if: {{{morality|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Morality | !scope="row"{{!}}Morality | ||
− | {{!}}{{{morality}}} | + | {{!}} {{{morality}}} |
}}{{#if: {{{domitor|}}}|<nowiki/> | }}{{#if: {{{domitor|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Domitor | !scope="row"{{!}}Domitor | ||
− | {{!}}[[{{{domitorpagename}}}|{{{domitor}}}]] | + | {{!}} {{#ifexist: {{{domitorpagename}}}|[[{{{domitorpagename}}}|{{{domitor}}}]]|[[{{{domitor}}}]]}} |
}}{{#if: {{{domitorclan|}}}|<nowiki/> | }}{{#if: {{{domitorclan|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}{{{domitor}}}'s Clan | !scope="row"{{!}}{{{domitor}}}'s Clan | ||
− | {{!}}[[:Category:{{{domitorclan}}}|{{{domitorclan}}}]] | + | {{!}} [[:Category:{{{domitorclan}}}|{{{domitorclan}}}]] |
}}{{#if: {{{domitorsect|}}}|<nowiki/> | }}{{#if: {{{domitorsect|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}{{{domitor}}}'s Sect | !scope="row"{{!}}{{{domitor}}}'s Sect | ||
− | {{!}}[[:Category:{{{domitorsect}}}|{{{domitorsect}}}]] | + | {{!}} [[:Category:{{{domitorsect}}}|{{{domitorsect}}}]] |
}}{{#if: {{{domitorsocialclass|}}}|<nowiki/> | }}{{#if: {{{domitorsocialclass|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}{{{domitor}}}'s Social Class | !scope="row"{{!}}{{{domitor}}}'s Social Class | ||
− | {{!}}{{{domitorsocialclass}}} | + | {{!}} {{{domitorsocialclass}}} |
}}{{#if: {{{family|}}}|<nowiki/> | }}{{#if: {{{family|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Revenant Family | !scope="row"{{!}}Revenant Family | ||
− | {{!}}[[{{{family}}}]] | + | {{!}} [[{{{family}}}]] |
+ | }}{{#if: {{{territory|}}}|<nowiki/> | ||
+ | {{!}}- | ||
+ | !scope="row"{{!}}Territory | ||
+ | {{!}} [[:Category:{{{territory}}}|{{{territory}}}]] | ||
}}{{#if: {{{pcgroup1|}}}|<nowiki/> | }}{{#if: {{{pcgroup1|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup1type}}}}}}} | !scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup1type}}}}}}} | ||
− | {{!}}[[{{{pcgroup1}}}]] | + | {{!}} [[:Category:{{{pcgroup1}}}|{{{pcgroup1}}}]] |
}}{{#if: {{{pcgroup2|}}}|<nowiki/> | }}{{#if: {{{pcgroup2|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup2type}}}}}}} | !scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup2type}}}}}}} | ||
− | {{!}}[[{{{pcgroup2}}}]] | + | {{!}} [[:Category:{{{pcgroup2}}}|{{{pcgroup2}}}]] |
+ | }}{{#if: {{{pcgroup3|}}}|<nowiki/> | ||
+ | {{!}}- | ||
+ | !scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup3type}}}}}}} | ||
+ | {{!}} [[:Category:{{{pcgroup3}}}|{{{pcgroup3}}}]] | ||
}}{{#if: {{{position|}}}|<nowiki/> | }}{{#if: {{{position|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Position(s) | !scope="row"{{!}}Position(s) | ||
− | {{!}}{{{position}}} | + | {{!}} {{{position}}} |
}} | }} | ||
|} | |} | ||
</div> | </div> | ||
− | + | <div class="masq-divider"></div> | |
− | <div class="masq | + | {{PC |
+ | |furtherinfopic={{{furtherinfopic|}}} | ||
+ | |desc={{{desc|}}} | ||
+ | |timeline={{{timeline|}}} | ||
+ | |bio={{{bio|}}} | ||
+ | |rumors={{{rumors|}}} | ||
+ | |quotes={{{quotes|}}} | ||
+ | |oocvitalspic={{{oocvitalspic|}}} | ||
+ | |player={{{player|}}} | ||
+ | |playerpronouns={{{playerpronouns|}}} | ||
+ | |playeremail={{{playeremail|}}} | ||
+ | |mesnumber={{{mesnumber|}}} | ||
+ | |vss={{{vss|}}} | ||
+ | |domain={{{domain|}}} | ||
+ | |territory={{{territory|}}} | ||
+ | |st={{{st|}}} | ||
+ | |stemail={{{stemail|}}} | ||
+ | |notvst={{{notvst|}}} | ||
+ | }} | ||
</div> | </div> | ||
− | + | {{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Vampire| |[[Category:{{{type}}}]]}}}}<nowiki/> | |
− | + | {{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Dhampir|[[Category:Anarch]]}}}}<nowiki/> | |
− | + | {{#if: {{{clan|}}}|[[Category:{{{clan}}}]]}}<nowiki/> | |
− | + | {{#switch: {{{clan|}}}<nowiki/> | |
− | + | | Banu Haqim Warrior|Banu Haqim Sorcerer|Banu Haqim Vizier = [[Category:Banu Haqim]]<nowiki/> | |
− | + | | Coyotes = [[Category:Gangrel]]<nowiki/> | |
− | + | | House Tremere|House Carna|House Goratrix = [[Category:Tremere]]<nowiki/> | |
− | + | | Salubri Warrior|Salubri Healer = [[Category:Salubri]]<nowiki/> | |
− | + | }}<nowiki/> | |
− | + | {{#if: {{{clanfaction|}}}|[[Category:{{{clanfaction}}}]]}}<nowiki/> | |
− | + | {{#if: {{{sect|}}}|[[Category:{{{sect}}}]]}}<nowiki/> | |
− | + | {{#if: {{{sectfaction|}}}|[[Category:{{{sectfaction}}}]]}}<nowiki/> | |
− | + | {{#if: {{{family|}}}|[[Category:{{{family}}}]]}}<nowiki/> | |
− | + | {{#if: {{{pcgroup1|}}}|[[Category:{{{pcgroup1}}}]]}}<nowiki/> | |
− | + | {{#if: {{{pcgroup2|}}}|[[Category:{{{pcgroup2}}}]]}}<nowiki/> | |
− | + | {{#if: {{{pcgroup3|}}}|[[Category:{{{pcgroup3}}}]]}}<nowiki/> | |
− | + | {{#if: {{{region|}}}|[[Category:{{{region}}}]]}}<nowiki/> | |
− | + | {{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/> | |
− | + | {{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}}<nowiki/> | |
− | + | {{#if: {{{territory|}}}|[[Category:{{{territory}}}]]}}<nowiki/> | |
− | + | [[Category:Masquerade PC]]{{Masquerade CSS}}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Vampire| |[[Category:{{{type}}}]]}}}} | ||
− | {{#if: {{{type|}}}|{{#ifeq: {{{type}}}|Dhampir|[[Category:Anarch]]}}}} | ||
− | {{#if: {{{clan|}}}|[[Category:{{{clan}}}]]}} | ||
− | {{#switch: {{{clan|}}} | ||
− | | Banu Haqim Warrior|Banu Haqim Sorcerer|Banu Haqim Vizier = [[Category:Banu Haqim]] | ||
− | | Coyotes = [[Category:Gangrel]] | ||
− | | House Tremere|House Carna|House Goratrix = [[Category:Tremere]] | ||
− | | Salubri Warrior|Salubri Healer = [[Category:Salubri]] | ||
− | }} | ||
− | {{#if: {{{clanfaction|}}}|[[Category:{{{clanfaction}}}]]}} | ||
− | {{#if: {{{sect|}}}|[[Category:{{{sect}}}]]}} | ||
− | {{#if: {{{sectfaction|}}}|[[Category:{{{sectfaction}}}]]}} | ||
− | {{#if: {{{family|}}}|[[Category:{{{family}}}]]}} | ||
− | {{#if: {{{pcgroup1|}}}|[[Category:{{{pcgroup1}}}]]}} | ||
− | {{#if: {{{pcgroup2|}}}|[[Category:{{{pcgroup2}}}]]}} | ||
− | {{#if: {{{ | ||
− | {{#if: {{{ | ||
− | {{#if: {{{ | ||
− | {{#if: {{{ | ||
− | |||
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | } | ||
− | </includeonly> |
Latest revision as of 16:24, 11 February 2021
This is the "Masquerade PC" template, used for pages defining Masquerade 2020 player characters. It should be called in the following format:
{{Masquerade PC |name= |portrait= |pronouns= |type= |clan= |clanfaction= |sect= |sectfaction= |socialclass= |morality= |domitor= |domitorpagename= |domitorclan= |domitorsect= |domitorsocialclass= |family= |territory= |position= |pcgroup1= |pcgroup1type= |pcgroup2= |pcgroup2type= |pcgroup3= |pcgroup3type= |furtherinfopic= |desc= |timeline= |bio= |rumors= |quotes= |oocvitalspic= |player= |playerpronouns= |playeremail= |mesnumber= |vss= |domain= |st= |stemail= |notvst= }}
The following parameters are required: name, player, playeremail, mesnumber, vss, domain, st, stemail
All other parameters are optional and can be excluded without causing any problems with the display of the template.
If an image file has been uploaded to the wiki that has the same name as the PC's PAGENAME (which isn't necessarily the same as the 'name' parameter), that image will display as the character's portrait. If not, a placeholder image will be displayed. Additional files can be defined for the 'furtherinfopic' and 'oocvitalspic' parameters if you wish. Assuming the filename given as the parameter exists on the wiki, it will be displayed. If you give anything else as this parameter, it won't work as intended and will look wrong. If you don't define one or more of those parameters, the template will skip displaying a picture at all in that section, and the text will be given full the full width of the page.
If the page for the VSS the PC is assigned to has been created, and the "VST" and "VST Email" pages have been defined for that VSS, those values will override whatever is given to this template for the 'st' and 'stemail' parameters. This is to prevent PC pages from having out-of-date info for the VST, since most players aren't going to update their PC page just because they have a new VST. If your VSS page has out-of-date info that's overriding the correct info on your PC page, go to the VSS page and click "Click here to edit" then edit it. Yes, you're allowed to touch that, as long as you're updating it with correct information.
Edit the page or click "View Source" to see the template text.