Difference between revisions of "Template:Character"

From Shadowlack
Jump to navigationJump to search
m
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellpadding="6" cellspacing="1" style="margin-left:15px;width:350px;float:right;border:1px solid #000;font-size:11px"
+
<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}}}"
 
|-
 
|-
! bgcolor="#{{{bg_colour|555588}}}" align="center" colspan="2" | <span style="color:#{{{text_colour|bbccbb}}}">{{{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}}}  
 
|-
 
|-
! bgcolor="#{{{bg_colour|555588}}}" colspan="2" style="width:100%" | <span style="color:#{{{text_colour|bbccbb}}}">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}}}
 
|-
 
|-
| '''Profile URL:'''
+
{{#if: {{{nickname|}}}
|[http://shadowlack.com/persona/{{{id}}} Shadowlack Profile]
+
|{{#!:
 
|-
 
|-
! style="background-color:#{{{bg_colour|555588}}}"  colspan="2" | <span style="color:#{{{text_colour|bbccbb}}}">Family</span>
+
| '''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|Unknown}}}
+
| {{{siblings}}}
 +
|-}} }}
 +
|-
 +
| '''Significant Other:'''
 +
| {{{significant_other|Single}}}
 
|-
 
|-
{{#if: {{{offspring|}}}|
+
{{#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>
 
 
{{#if: {{{offspring}}} |&#32;
 
{{#!: |-
 
|
 
|
 
! test {{{offspring}}}
 
|
 
|
 
}}
 
}}
 
 
 
 
 
 
 
<noinclude>
 
== Usage Guide ==
 
Still working on it.
 
<pre>{{Character|
 
dob_month=Dyo|
 
dob_day=4|
 
dob_year=81334|
 
race=Lukuo|
 
gender=Female|
 
mother=[[Karryasa Grader]]|
 
father=[[Zamfir Grader]]|
 
siblings=|
 
offspring= [[Vela Lapices]], [[Valekesi|Myst Lapices]], [[Cayson Lapices]]|
 
id=542|
 
bg_colour=4F4850|
 
text_colour=ABEE95|
 
}}</pre>
 
</noinclude>
 
<includeonly>[[Category:Characters]] [[Category:{{{race|Pendragon}}}]] {{#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=
|}}