Difference between revisions of "Template:Masquerade NPC"
(7 intermediate revisions by the same user not shown) | |||
Line 62: | Line 62: | ||
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 NPC}}__NOTOC__ __NOEDITSECTION__<div id="masq-container"> |
− | <div id="masq | + | <div id="masq-title" class="clearfix">{{{name}}}<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 | + | <div id="masq-icvitals" class="clearfix"> |
− | <div id="masq | + | <div id="masq-portrait-box"> |
− | <div id="masq | + | <div id="masq-portrait"> |
{{#if: {{{portrait|}}}|[[File:{{{portrait}}}]] | {{#if: {{{portrait|}}}|[[File:{{{portrait}}}]] | ||
|{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]] | |{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]] | ||
Line 87: | Line 86: | ||
</div> | </div> | ||
− | {| id="masq | + | {| id="masq-icvitals-table" |
{{#switch: {{{type}}}| Ghoul|Revenant|Dhampir = | {{#switch: {{{type}}}| Ghoul|Revenant|Dhampir = | ||
{{!}}- | {{!}}- | ||
Line 192: | Line 191: | ||
</div> | </div> | ||
− | <div class="masq | + | <div class="masq-divider"> |
</div> | </div> | ||
− | + | {{NPC | |
− | + | |furtherinfopic={{{furtherinfopic|}}} | |
− | + | |desc={{{desc|}}} | |
− | + | |timeline={{{timeline|}}} | |
− | {{{desc}}} | + | |bio={{{bio|}}} |
− | + | |rumors={{{rumors|}}} | |
− | + | |editablerumors={{{editablerumors|}}} | |
− | {{{timeline}}} | + | |quotes={{{quotes|}}} |
− | + | |editablequotes={{{editablequotes|}}} | |
− | + | |oocvitalspic={{{oocvitalspic|}}} | |
− | {{{bio}}} | + | |portrayer={{{portrayer|}}} |
− | + | |portrayerpronouns={{{portrayerpronouns|}}} | |
− | + | |portrayeremail={{{portrayeremail|}}} | |
− | {{{rumors}}} | + | |portrayermesnumber={{{portrayermesnumber|}}} |
− | + | |ownership={{{ownership|}}} | |
− | + | |region={{{region|}}} | |
− | + | |domain={{{domain|}}} | |
− | + | |vss={{{vss|}}} | |
− | {{{quotes}}} | + | |territory={{{territory|}}} |
− | + | |st={{{st|}}} | |
− | + | |stemail={{{stemail|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | {{ | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
{{#switch: {{{type|}}} | {{#switch: {{{type|}}} | ||
Line 281: | Line 245: | ||
{{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}} | {{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}} | ||
{{#if: {{{territory|}}}|[[Category:{{{territory}}}]]}} | {{#if: {{{territory|}}}|[[Category:{{{territory}}}]]}} | ||
− | |||
[[Category:Masquerade NPC]] | [[Category:Masquerade NPC]] | ||
− | {{ | + | {{Masquerade CSS}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 16:14, 28 October 2020
This is the "Masquerade NPC" template, used for pages defining Masquerade 2020 non-player characters. It should be called in the following format:
{{Masquerade NPC |name= |portrait= |characterpronouns= |type= |clan= |clanfaction= |sect= |sectfaction= |socialclass= |morality= |domitor= |domitorpagename= |domitorclan= |domitorsect= |domitorsocialclass= |family= |mortalorg= |truefaith= |kith= |court= |seeming= |othertype= |subtype= |position= |pcgroup1= |pcgroup1type= |pcgroup2= |pcgroup2type= |furtherinfopic= |desc= |timeline= |bio= |rumors= |editablerumors= |quotes= |editablequotes= |oocvitalspic= |portrayer= |portrayerpronouns= |portrayeremail= |portrayermesnumber= |ownership= |region= |domain= |vss= |territory= |st= |stemail= }}
The following parameters are required: name, 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 NPC'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 NPC 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 NPC pages from having out-of-date info for the VST, since most players aren't going to want to update all their NPC pages as a new VST. If your VSS page has out-of-date info that's overriding the correct info on your NPC 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.