Difference between revisions of "Template:Character Profile"

From PSU Cyril Wiki
Jump to: navigation, search
m (Fixed <includeonly>)
m (Let's try this again.)
Line 1: Line 1:
 
<includeonly>{| cellspacing="1" style="text-align:center; background:#bbb"
 
<includeonly>{| cellspacing="1" style="text-align:center; background:#bbb"
{{ #ifeq: {{{mode|}}} | short ||
+
|- style="background:#ddd"
{{bar}}- style="background:#ddd"
+
! width="120" |Name || width="80" |Race || width="80" |Gender || width="80" |Level || width="80" |Type || width="40" |HU || width="40" |RA || width="40" |FO || width="40" |FG || width="40" |GT || width="40" |WT || width="40" |fF || width="40" |fG || width="40" |fT || width="40" |PT
! width="120" {{bar}}Name {{bar}}{{bar}} width="80" {{bar}}Race {{bar}}{{bar}} width="80" {{bar}}Gender {{bar}}{{bar}} width="80" {{bar}}Level {{bar}}{{bar}} width="80" {{bar}}Type {{bar}}{{bar}} width="50" {{bar}}HU {{bar}}{{bar}} width="50" {{bar}}RA {{bar}}{{bar}} width="50" {{bar}}FO {{bar}}{{bar}} width="50" {{bar}}FG {{bar}}{{bar}} width="50" {{bar}}GT {{bar}}{{bar}} width="50" {{bar}}WT {{bar}}{{bar}} width="50" {{bar}}fF {{bar}}{{bar}} width="50" {{bar}}fG {{bar}}{{bar}} width="50" {{bar}}fT {{bar}}{{bar}} width="50" {{bar}}PT
 
}}
 
 
|- style="background:#eee"
 
|- style="background:#eee"
| width="120"|{{{name|}}} || width="80"|{{{race|}}} || width="80"|{{{gender|}}} || width="80"|{{{level|}}} || width="80"|{{{type|}}} || width="50"|{{{HU|}}} || width="50"|{{{RA|}}} || width="50"|{{{FO|}}} || width="50"|{{{FG|}}} || width="50"|{{{GT|}}} || width="50"|{{{WT|}}} || width="50"|{{{fF|}}} || width="50"|{{{fG|}}} || width="50"|{{{fT|}}} || width="50"|{{{PT|}}}
+
| {{{name|}}} || {{{race|}}} || {{{gender|}}} || {{{level|}}} || {{{type|}}} || {{{HU|}}} || {{{RA|}}} || {{{FO|}}} || {{{FG|}}} || {{{GT|}}} || {{{WT|}}} || {{{fF|}}} || {{{fG|}}} || {{{fT|}}} || {{{PT|}}}
 +
{{#if:{{{name2|}}}|
 +
{{bar}}- style="background:#eee"
 +
{{bar}} {{{name2|}}} {{bar}}{{bar}} {{{race2|}}} {{bar}}{{bar}} {{{gender2|}}} {{bar}}{{bar}} {{{level2|}}} {{bar}}{{bar}} {{{type2|}}} {{bar}}{{bar}} {{{HU2|}}} {{bar}}{{bar}} {{{RA2|}}} {{bar}}{{bar}} {{{FO2|}}} {{bar}}{{bar}} {{{FG2|}}} {{bar}}{{bar}} {{{GT2|}}} {{bar}}{{bar}} {{{WT2|}}} {{bar}}{{bar}} {{{fF2|}}} {{bar}}{{bar}} {{{fG2|}}} {{bar}}{{bar}} {{{fT2|}}} {{bar}}{{bar}} {{{PT2|}}}
 +
|}}
 
|}</includeonly>
 
|}</includeonly>
  
Line 12: Line 14:
 
<pre>{{Character Profile
 
<pre>{{Character Profile
 
|name= Ethan Waber |race= Human |gender= ♂ |level= 100 |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
 
|name= Ethan Waber |race= Human |gender= ♂ |level= 100 |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
}}{{Character Profile | mode=short
+
|name2= Karen Erra |race2= Newman |gender2= ♀ |level2= 99 |type2= Hunter |HU2= 10 |RA2= 10 |FO2= 10 |FG2= 10 |GT2= 10 |WT2= 10 |fF2= 10 |fG2= 10 |fT2= 10 |PT2= 10
|name= Karen Erra |race= Newman |gender= ♀ |level= 99 |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
 
 
}}</pre>
 
}}</pre>
 
The following result was created:
 
The following result was created:
 
{{Character Profile
 
{{Character Profile
|name= Ethan Waber |race= Human |gender= ♂ |level= |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
+
|name= Ethan Waber |race= Human |gender= ♂ |level= 100 |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
}}{{Character Profile | mode=short
+
|name2= Karen Erra |race2= Newman |gender2= ♀ |level2= 99 |type2= Hunter |HU2= 10 |RA2= 10 |FO2= 10 |FG2= 10 |GT2= 10 |WT2= 10 |fF2= 10 |fG2= 10 |fT2= 10 |PT2= 10
|name= Karen Erra |race= Newman |gender= ♀ |level= 99 |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
 
 
}}
 
}}
  
 
[[Category: Templates]]</noinclude>
 
[[Category: Templates]]</noinclude>

Revision as of 15:12, 26 November 2006


Example

Using the follow code:

{{Character Profile
|name= Ethan Waber |race= Human |gender= ♂ |level= 100 |type= Hunter |HU= 10 |RA= 10 |FO= 10 |FG= 10 |GT= 10 |WT= 10 |fF= 10 |fG= 10 |fT= 10 |PT= 10
|name2= Karen Erra |race2= Newman |gender2= ♀ |level2= 99 |type2= Hunter |HU2= 10 |RA2= 10 |FO2= 10 |FG2= 10 |GT2= 10 |WT2= 10 |fF2= 10 |fG2= 10 |fT2= 10 |PT2= 10
}}

The following result was created:

Name Race Gender Level Type HU RA FO FI GT WT FF FG FT PT AF AT FM GM MF
Ethan Waber Human 100 Hunter 10 10 10 10 10 10 10
Karen Erra Newman 99 Hunter 10 10 10 10 10 10 10