Difference between revisions of "Template:Character"
From Shadowlack
Jump to navigationJump to searchm |
|||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| cellpadding="6" cellspacing="1" style=" | + | <noinclude> |
+ | == About == | ||
+ | This is the fancy-pants character profile template for use on the wiki. It will create a right aligned data table with your character's statistics. You may use it to create profiles for existing characters, deceased characters, historical figures, or any other sort of NPC that you think will enhance Ramath-lehi as a whole. | ||
+ | |||
+ | ===Category Auto-Inclusion=== | ||
+ | By using this template, your character will automatically be added into the [[:Category:Characters|Characters]] category, as well as the category that corresponds to their race ([[:Category:Pendragon|Pendragon]], [[:Category:Lukuo|Lukuo]], etc.). | ||
+ | == Usage Guide == | ||
+ | |||
+ | Simply copy and paste the following code and enter in your own variables: | ||
+ | <pre> | ||
+ | {{Character | ||
+ | |name= | ||
+ | |nickname= | ||
+ | |surname= | ||
+ | |status=Living | ||
+ | |type=Player Character | ||
+ | |image= | ||
+ | |dob= | ||
+ | |race= | ||
+ | |gender= | ||
+ | |birthplace= | ||
+ | |mother= | ||
+ | |father= | ||
+ | |siblings= | ||
+ | |significant_other= | ||
+ | |offspring= | ||
+ | |occupation= | ||
+ | |residence= | ||
+ | |id= | ||
+ | |player= | ||
+ | |bg_colour= | ||
+ | |text_colour= | ||
+ | |}} | ||
+ | </pre> | ||
+ | [[Category:Templates|{{PAGENAME}}]] | ||
+ | </noinclude><includeonly>{| class="infobox rounded" cellpadding="6" cellspacing="1" style="border:1px solid {{{bg_colour|cccccc}}}" | ||
|- | |- | ||
− | ! | + | ! class="heading" style="background-color:{{{bg_colour|cccccc}}};text-align:center" colspan="2" | <span style="color:{{{text_colour|444444}}}">{{{name|Unknown}}}<br /><small>([[Character type::{{{type|Player Character}}}]])</small></span> |
|- | |- | ||
! align="center" colspan="2" | {{{image|No Image}}} | ! align="center" colspan="2" | {{{image|No Image}}} | ||
|- | |- | ||
− | ! | + | ! class="heading" style="background-color:{{{bg_colour|cccccc}}}" colspan="2" | <span style="color:{{{text_colour|444444}}}">Basics</span> |
+ | |- | ||
+ | | '''Status:''' | ||
+ | | [[Character status::{{{status|Living}}}]] | ||
|- | |- | ||
| '''Race:''' | | '''Race:''' | ||
− | | [[ | + | | [[{{{race|Pendragon}}}]] {{#set:Race={{{race|Pendragon}}}}} |
|- | |- | ||
− | + | {{#if: {{{dob|}}} | |
− | + | |{{#!: | |
|- | |- | ||
+ | | '''Date of Birth:''' | ||
+ | | {{{dob}}} | ||
+ | |-}} }} | ||
| '''Gender:''' | | '''Gender:''' | ||
| {{{gender|Unknown}}} | | {{{gender|Unknown}}} | ||
|- | |- | ||
− | | ''' | + | {{#if: {{{nickname|}}} |
− | |[ | + | |{{#!: |
+ | |- | ||
+ | | '''Nickname(s):''' | ||
+ | | {{{nickname}}} | ||
+ | |-}} }} | ||
+ | ! class="heading" style="background-color:{{{bg_colour|cccccc}}}" colspan="2" | <span style="color:{{{text_colour|444444}}}">Family and Heritage</span> | ||
+ | {{#if: {{{surname|}}} | ||
+ | |{{#!: | ||
+ | |- | ||
+ | | '''Genealogy:''' | ||
+ | | [[Genealogy:{{{surname}}}|{{{surname}}}]] | ||
+ | |-}} }} | ||
+ | {{#if: {{{birthplace|}}} | ||
+ | |{{#!: | ||
|- | |- | ||
− | + | | '''Birthplace:''' | |
+ | | {{{birthplace}}} | ||
+ | |-}} }} | ||
|- | |- | ||
| '''Mother:''' | | '''Mother:''' | ||
Line 26: | Line 82: | ||
| '''Father:''' | | '''Father:''' | ||
| {{{father|Unknown}}} | | {{{father|Unknown}}} | ||
+ | |- | ||
+ | {{#if: {{{siblings|}}} | ||
+ | |{{#!: | ||
|- | |- | ||
| '''Siblings:''' | | '''Siblings:''' | ||
| {{{siblings}}} | | {{{siblings}}} | ||
+ | |-}} }} | ||
+ | |- | ||
+ | | '''Significant Other:''' | ||
+ | | {{{significant_other|Single}}} | ||
+ | |- | ||
+ | {{#if: {{{offspring|}}} | ||
+ | |{{#!: | ||
|- | |- | ||
| '''Offspring:''' | | '''Offspring:''' | ||
| {{{offspring}}} | | {{{offspring}}} | ||
+ | |-}} }} | ||
+ | ! class="heading" style="background-color:{{{bg_colour|cccccc}}}" colspan="2" | <span style="color:{{{text_colour|444444}}}">Currently</span> | ||
+ | |- | ||
+ | | '''Occupation:''' | ||
+ | | {{{occupation|Unknown}}} | ||
|- | |- | ||
+ | | '''Residence:''' | ||
+ | | {{{residence|Unknown}}} | ||
|} | |} | ||
− | + | [[Category:Characters]] [[Category:{{{race|Pendragon}}}]] {{#if:{{{surname|}}}|[[Category:{{{surname}}}]] |}} {{#set:Gender={{{gender|Unknown}}}}}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− |
Latest revision as of 14:58, 13 August 2012
About
This is the fancy-pants character profile template for use on the wiki. It will create a right aligned data table with your character's statistics. You may use it to create profiles for existing characters, deceased characters, historical figures, or any other sort of NPC that you think will enhance Ramath-lehi as a whole.
Category Auto-Inclusion
By using this template, your character will automatically be added into the Characters category, as well as the category that corresponds to their race (Pendragon, Lukuo, etc.).
Usage Guide
Simply copy and paste the following code and enter in your own variables:
{{Character |name= |nickname= |surname= |status=Living |type=Player Character |image= |dob= |race= |gender= |birthplace= |mother= |father= |siblings= |significant_other= |offspring= |occupation= |residence= |id= |player= |bg_colour= |text_colour= |}}