Difference between revisions of "Template talk:Infobox character"

From SDSDWiki
(→‎Full Block: new section)
Line 48: Line 48:
 
**<b>affiliations</b> - they got gods? an adventuring party? a history with a shadowy organization that haunts them?? note it here
 
**<b>affiliations</b> - they got gods? an adventuring party? a history with a shadowy organization that haunts them?? note it here
 
**<b>language</b> - use <code><nowiki><br> or <ul></nowiki></code> tags to list. Feel free to denote proficiency in parentheses.
 
**<b>language</b> - use <code><nowiki><br> or <ul></nowiki></code> tags to list. Feel free to denote proficiency in parentheses.
 +
 +
== Full Block ==
 +
 +
<pre>
 +
<div class="infobox">
 +
<div class="infobox-title vale-title">{{{title|{{PAGENAME}}}}}</div>
 +
{{#if:{{{world|}}}|<div class="infobox-world">{{{world}}}</div>}}{{#if:{{{image|}}}|
 +
<div class="infobox-image">[[File:{{{image}}}|225px|caption]]</div>}}
 +
{{#if:{{{caption|}}}|<tr>
 +
    <td>{{{caption}}}</td>
 +
</tr>}}
 +
<table>{{#if:{{{fullname|}}}|<tr>
 +
    <th>Full Name:</th>
 +
    <td>{{{fullname}}}</td>
 +
</tr>}}{{#if:{{{alias|}}}|<tr>
 +
    <th>Alias:</th>
 +
    <td>{{{alias}}}</td>
 +
</tr>}}{{#if:{{{creaturetype|}}}|<tr>
 +
    <th>Creature Type:</th>
 +
    <td>{{{creaturetype}}}</td>
 +
</tr>}}{{#if:{{{race|}}}|<tr>
 +
    <th>Race:</th>
 +
    <td>{{{race}}}</td>
 +
</tr>}}{{#if:{{{pronouns|}}}|<tr>
 +
    <th>Pronouns:</th>
 +
    <td>{{{pronouns}}}</td>
 +
</tr>}}{{#if:{{{age|}}}|<tr>
 +
    <th>Age:</th>
 +
    <td>{{{age}}}</td>
 +
</tr>}}{{#if:{{{DOB|}}}|<tr>
 +
    <th>DOB:</th>
 +
    <td>{{{DOB}}}</td>
 +
</tr>}}{{#if:{{{height|}}}|<tr>
 +
    <th>Height:</th>
 +
    <td>{{{height}}}</td>
 +
</tr>}}{{#if:{{{hair|}}}|<tr>
 +
    <th>Hair:</th>
 +
    <td>{{{hair}}}</td>
 +
</tr>}}{{#if:{{{eyes|}}}|<tr>
 +
    <th>Eyes:</th>
 +
    <td>{{{eyes}}}</td>
 +
</tr>}}{{#if:{{{nationality|}}}|<tr>
 +
    <th>Nationality:</th>
 +
    <td>{{{nationality}}}</td>
 +
</tr>}}{{#if:{{{home|}}}|<tr>
 +
    <th>Hometown:</th>
 +
    <td>{{{home}}}</td>
 +
</tr>}}{{#if:{{{affiliations|}}}|<tr>
 +
    <th>Affiliations:</th>
 +
    <td>{{{affiliations}}}</td>
 +
</tr>}}{{#if:{{{language|}}}|<tr>
 +
    <th>Languages Spoken:</th>
 +
    <td>{{{language}}}</td>
 +
</tr>}}</table>
 +
</div>
 +
</pre>

Revision as of 21:47, 19 January 2021

Syntax

To add an infobox to your page, add

{{Infobox character
| }}

or

{{Infobox WM character
| }}

at the top of your page.

To add categories to your info box, call the categories you would like by name, as listed below, using this syntax: | category = what you want it to say.
Example:

{{Infobox character
| image = image.png
| fullname = Wally Colorado
| race = Dragonborn
| age = 69
| DOB = April 20
| }}

Categories

Here are categories you can use for your infoboxes, in the order in which they will appear (seemingly?).

  • General
    • Page Name appears at the top by default.
    • world - either Wildemount or Fairweather Vale, depending on where the character comes from
    • image calls an image.
    • caption works as an image caption, sort of, for now. needs some css-ery
  • Character Bits
    • fullname - use this if they have a whole ass name that isn't the title of their page
    • alias - for when they have one or more other whole ass names
    • creaturetype
    • race
    • pronouns
    • age
    • DOB
  • Vital Stats/Appearance
    • height
    • hair - this could probably also work for fur, but open to opinions from fur-havers on this one
    • eyes - tell us about their limpid pools
    - should there be a skin color tag? that feels potentially fraught but also maybe worth having in a world where some people are blue and stuff
  • Affiliations
    • nationality - what's their homeland? use [[COUNTRY|DEMONYM]] to link
    • hometown - if you want to get specific
    • affiliations - they got gods? an adventuring party? a history with a shadowy organization that haunts them?? note it here
    • language - use <br> or <ul> tags to list. Feel free to denote proficiency in parentheses.

Full Block

<div class="infobox">
<div class="infobox-title vale-title">{{{title|{{PAGENAME}}}}}</div>
{{#if:{{{world|}}}|<div class="infobox-world">{{{world}}}</div>}}{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|225px|caption]]</div>}}
{{#if:{{{caption|}}}|<tr>
    <td>{{{caption}}}</td>
</tr>}}
<table>{{#if:{{{fullname|}}}|<tr>
    <th>Full Name:</th>
    <td>{{{fullname}}}</td>
</tr>}}{{#if:{{{alias|}}}|<tr>
    <th>Alias:</th>
    <td>{{{alias}}}</td>
</tr>}}{{#if:{{{creaturetype|}}}|<tr>
    <th>Creature Type:</th>
    <td>{{{creaturetype}}}</td>
</tr>}}{{#if:{{{race|}}}|<tr>
    <th>Race:</th>
    <td>{{{race}}}</td>
</tr>}}{{#if:{{{pronouns|}}}|<tr>
    <th>Pronouns:</th>
    <td>{{{pronouns}}}</td>
</tr>}}{{#if:{{{age|}}}|<tr>
    <th>Age:</th>
    <td>{{{age}}}</td>
</tr>}}{{#if:{{{DOB|}}}|<tr>
    <th>DOB:</th>
    <td>{{{DOB}}}</td>
</tr>}}{{#if:{{{height|}}}|<tr>
    <th>Height:</th>
    <td>{{{height}}}</td>
</tr>}}{{#if:{{{hair|}}}|<tr>
    <th>Hair:</th>
    <td>{{{hair}}}</td>
</tr>}}{{#if:{{{eyes|}}}|<tr>
    <th>Eyes:</th>
    <td>{{{eyes}}}</td>
</tr>}}{{#if:{{{nationality|}}}|<tr>
    <th>Nationality:</th>
    <td>{{{nationality}}}</td>
</tr>}}{{#if:{{{home|}}}|<tr>
    <th>Hometown:</th>
    <td>{{{home}}}</td>
</tr>}}{{#if:{{{affiliations|}}}|<tr>
    <th>Affiliations:</th>
    <td>{{{affiliations}}}</td>
</tr>}}{{#if:{{{language|}}}|<tr>
    <th>Languages Spoken:</th>
    <td>{{{language}}}</td>
</tr>}}</table>
</div>