Difference between revisions of "Template:Character"

From Shadowlack
Jump to navigationJump to search
m
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
== About ==
 
== 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===
 
===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.).
 
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 ==
 
== Usage Guide ==
Still working on it.
 
  
<pre>{{Character|
+
Simply copy and paste the following code and enter in your own variables:
name=Example Character Name |
+
<pre>
image=|
+
{{Character
status=Alive|
+
|name=
dob_month=Dyo |
+
|nickname=
dob_day=4|
+
|surname=
dob_year=81334|
+
|status=Living
race=Pendragon|
+
|type=Player Character
gender=Male|
+
|image=
mother=[[Bobbette Joe]]|
+
|dob=
father=[[Bobby Joe]]|
+
|race=
siblings= Jill, Jack, Jane|
+
|gender=
significant_other= Hickory Styx|
+
|birthplace=
offspring= [[Bob Styx]], [[Bobbette Styx]]|
+
|mother=
id=0|
+
|father=
bg_colour=4F4850|
+
|siblings=
text_colour=ABEE95|
+
|significant_other=
}}</pre>
+
|offspring=
</noinclude><includeonly>{| cellpadding="6" cellspacing="1" style="margin-left:15px;width:350px;float:right;border:1px solid #ccc;font-size:11px"
+
|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}}}"
 
|-
 
|-
! style="background-color:#{{{bg_colour|cccccc}}};text-align:center" colspan="2" | <span style="color:#{{{text_colour|444444}}}">{{{name|Unknown}}}</span>
+
! 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}}}  
 
|-
 
|-
! style="background-color:#{{{bg_colour|cccccc}}}" colspan="2" | <span style="color:#{{{text_colour|444444}}}">Basics</span>
+
! 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::{{{race|Pendragon}}}]]
+
| [[{{{race|Pendragon}}}]] {{#set:Race={{{race|Pendragon}}}}}
 
|-
 
|-
| '''Age:'''
+
{{#if: {{{dob|}}}
| {{{age|Unknown}}} ''{{{dob_month}}} {{{dob_day}}} {{{dob_year}}}''
+
|{{#!:
 
|-
 
|-
 +
| '''Date of Birth:'''
 +
| {{{dob}}}
 +
|-}} }}
 
| '''Gender:'''
 
| '''Gender:'''
 
| {{{gender|Unknown}}}
 
| {{{gender|Unknown}}}
 
|-
 
|-
{{#if: {{{id|}}}
+
{{#if: {{{nickname|}}}
 
|{{#!:
 
|{{#!:
 
|-
 
|-
| '''Profile URL:'''
+
| '''Nickname(s):'''
|[http://shadowlack.com/persona/{{{id}}} Shadowlack Profile]
+
| {{{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}}}
 
|-}} }}
 
|-}} }}
! style="background-color:#{{{bg_colour|cccccc}}}"  colspan="2" | <span style="color:#{{{text_colour|444444}}}">Family</span>
 
 
|-
 
|-
 
| '''Mother:'''
 
| '''Mother:'''
Line 72: Line 99:
 
| {{{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}}}]] {{#set:Gender={{{gender|Unknown}}}}}
+
[[Category:Characters]] [[Category:{{{race|Pendragon}}}]] {{#if:{{{surname|}}}|[[Category:{{{surname}}}]] |}} {{#set:Gender={{{gender|Unknown}}}}}</includeonly>
</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=
|}}