Difference between revisions of "Template:Masquerade PC"
(Undo revision 11074 by Annie B. US2018100133 (talk)) Tag: Undo |
|||
(29 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
|domitorsocialclass= | |domitorsocialclass= | ||
|family= | |family= | ||
+ | |territory= | ||
|position= | |position= | ||
|pcgroup1= | |pcgroup1= | ||
Line 24: | Line 25: | ||
|pcgroup2= | |pcgroup2= | ||
|pcgroup2type= | |pcgroup2type= | ||
+ | |pcgroup3= | ||
+ | |pcgroup3type= | ||
|furtherinfopic= | |furtherinfopic= | ||
|desc= | |desc= | ||
Line 37: | Line 40: | ||
|vss= | |vss= | ||
|domain= | |domain= | ||
− | |||
|st= | |st= | ||
|stemail= | |stemail= | ||
+ | |notvst= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 51: | 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 | + | <div id="masq-portrait-box"> |
− | <div id="masq | + | <div id="masq-portrait"> |
− | <div id="masq | ||
{{#if: {{{portrait|}}}|[[File:{{{portrait}}}]] | {{#if: {{{portrait|}}}|[[File:{{{portrait}}}]] | ||
|{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]] | |{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]] | ||
Line 63: | Line 65: | ||
|{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif]] | |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif]] | ||
|{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp]] | |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp]] | ||
− | |||
}} | }} | ||
}} | }} | ||
Line 72: | Line 73: | ||
</div> | </div> | ||
</div> | </div> | ||
− | {| id="masq | + | {| id="masq-icvitals-table" |
{{#if: {{{characterpronouns|}}}|<nowiki/> | {{#if: {{{characterpronouns|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Pronouns | !scope="row"{{!}}Pronouns | ||
{{!}} {{{characterpronouns}}} | {{!}} {{{characterpronouns}}} | ||
− | }}{{#switch: {{{type}}}| Ghoul|Revenant|Dhampir = | + | }}{{#switch: {{{type}}}| Ghoul|Revenant|Dhampir = <nowiki/> |
{{!}}- | {{!}}- | ||
!scope="row"{{!}}Creature Type | !scope="row"{{!}}Creature Type | ||
Line 129: | Line 130: | ||
!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/> | ||
{{!}}- | {{!}}- | ||
Line 137: | Line 142: | ||
!scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup2type}}}}}}} | !scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup2type}}}}}}} | ||
{{!}} [[:Category:{{{pcgroup2}}}|{{{pcgroup2}}}]] | {{!}} [[:Category:{{{pcgroup2}}}|{{{pcgroup2}}}]] | ||
+ | }}{{#if: {{{pcgroup3|}}}|<nowiki/> | ||
+ | {{!}}- | ||
+ | !scope="row"{{!}}{{ucfirst:{{lc:{{{pcgroup3type}}}}}}} | ||
+ | {{!}} [[:Category:{{{pcgroup3}}}|{{{pcgroup3}}}]] | ||
}}{{#if: {{{position|}}}|<nowiki/> | }}{{#if: {{{position|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
Line 144: | Line 153: | ||
|} | |} | ||
</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.