Difference between revisions of "Template talk:Infobox character"

From SDSDWiki
(→‎Full Block: new section)
 
(One intermediate revision by one other user not shown)
Line 46: Line 46:
 
**<b>nationality</b> - what's their homeland? use <code><nowiki>[[COUNTRY|DEMONYM]]</nowiki></code> to link
 
**<b>nationality</b> - what's their homeland? use <code><nowiki>[[COUNTRY|DEMONYM]]</nowiki></code> to link
 
**<b>hometown</b> - if you want to get specific
 
**<b>hometown</b> - if you want to get specific
**<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 an adventuring party? a history with a shadowy organization that haunts them?? note it here
 +
**<b>bias</b> - which god is their stan?
 
**<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.
  
Line 52: Line 53:
  
 
<pre>
 
<pre>
<div class="infobox">
+
{{Infobox (MW) character
<div class="infobox-title vale-title">{{{title|{{PAGENAME}}}}}</div>
+
| world =
{{#if:{{{world|}}}|<div class="infobox-world">{{{world}}}</div>}}{{#if:{{{image|}}}|
+
| image = image.png
<div class="infobox-image">[[File:{{{image}}}|225px|caption]]</div>}}
+
| caption =
{{#if:{{{caption|}}}|<tr>
+
| fullname = Wally Colorado
    <td>{{{caption}}}</td>
+
| alias =
</tr>}}
+
| creaturetype =
<table>{{#if:{{{fullname|}}}|<tr>
+
| race =
    <th>Full Name:</th>
+
| pronouns =
    <td>{{{fullname}}}</td>
+
| age = 69
</tr>}}{{#if:{{{alias|}}}|<tr>
+
| DOB = April 20
    <th>Alias:</th>
+
| height =
    <td>{{{alias}}}</td>
+
| hair =
</tr>}}{{#if:{{{creaturetype|}}}|<tr>
+
| eyes =
    <th>Creature Type:</th>
+
| nationality =
    <td>{{{creaturetype}}}</td>
+
| hometown =
</tr>}}{{#if:{{{race|}}}|<tr>
+
| affiliations =
    <th>Race:</th>
+
| bias =
    <td>{{{race}}}</td>
+
| language =
</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>
 
</pre>

Latest revision as of 20:30, 17 May 2025

Syntax[edit]

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[edit]

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 an adventuring party? a history with a shadowy organization that haunts them?? note it here
    • bias - which god is their stan?
    • language - use <br> or <ul> tags to list. Feel free to denote proficiency in parentheses.

Full Block[edit]

{{Infobox (MW) character
| world = 
| image = image.png
| caption = 
| fullname = Wally Colorado
| alias = 
| creaturetype = 
| race = 
| pronouns = 
| age = 69
| DOB = April 20
| height = 
| hair = 
| eyes = 
| nationality = 
| hometown = 
| affiliations = 
| bias =
| language = 
| }}