Difference between revisions of "Template:CharacterInfo"

1,856 bytes added ,  13:06, 7 January 2017
m
no edit summary
m
m
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="CharacterInfo" style="width: 90%; margin: auto; margin-top: 5px; margin-bottom: 10px; border: 1px solid #AAAAAA; padding: 8px;font-family: 'Bitter','lucida grande','Lucida Sans Unicode',tahoma,sans-serif;color: #333333;background-color: #FBFBFC;box-shadow: 0 0 7px 0 #E2E2E2;">
<div class="CharacterInfo" style="width: 90%; margin: auto; margin-top: 5px; margin-bottom: 10px; border: 1px solid #AAAAAA; padding: 2px;font-family: 'Bitter','lucida grande','Lucida Sans Unicode',tahoma,sans-serif;color: #333333;background-color: #FBFBFC;box-shadow: 0 0 7px 0 #E2E2E2;">
<div class="CharacterName" style="font-size:18px;font-weight:800;padding-bottom:8px;">{{#if:{{{name|}}}|{{{name}}}|Character Information}}</div>
<div class="CharacterName" style="font-size:18px;font-weight:800;padding-bottom:8px;">{{#if:{{{name|}}}|{{{name}}}|Character Information}}</div>
<div class="CharacterType" style="font-size:14px;font-weight:600;padding-bottom:5px">{{#if:{{{statpack|}}}|{{{statpack}}}&nbsp;}}{{#if:{{{gender|}}}|{{{gender}}}&nbsp;}}{{#if:{{{race|}}}|{{{race}}}&nbsp;}}{{#ifeq:{{{circle}}}|Magick|<span style="color: #175533 !important;">([[Magick Circle|<span style="color: #175533 !important;">Magickal</span>]])</span> |{{#ifeq:{{{circle}}}|Demonic|<span style="color: #501313 !important;">([[Demonic Circle|<span style="color: #501313 !important;">Demonic</span>]])</span> |{{#ifeq:{{{circle}}}|Anti-Magick|<span style="color: #43758c !important;">([[Anti-Magick Circle|<span style="color: #43758c !important;">Anti-Magick</span>]])</span>|<span style="color: #333333 !important;">([[Circles|<span style="color: #333333 !important;">Neutral</span>]])</span>}}}}}}</div>
<div class="CharacterType" style="font-size:14px;font-weight:600;padding-bottom:5px">{{#if:{{{statpack|}}}|{{{statpack}}}&nbsp;}}{{#if:{{{gender|}}}|{{{gender}}}&nbsp;}}{{#if:{{{species|}}}|{{{species}}}&nbsp;}}{{#if:{{{race|}}}|{{{race}}}&nbsp;}}{{#ifeq:{{{circle}}}|Magick|([[Magick Circle|Magickal]]) |{{#ifeq:{{{circle}}}|Demonic|([[Demonic Circle|Demonic]]) |{{#ifeq:{{{circle}}}|Anti-Magick|([[Anti-Magick Circle|Anti-Magick]])|(Neutral)}}}}}}</div>
<div class="CharacterStats" style="font-size:12px;font-weight:600;padding-bottom:5px">{{#if:{{{health|}}}|Health: <span style="color: #008529;">{{{health}}}&nbsp;</span>}}{{#if:{{{mana|}}}|Mana: <span style="color: #003d71;">{{{mana}}}&nbsp;</span>}}</div>
<div class="CharacterStats" style="font-size:12px;font-weight:600;padding-top: -5px;padding-bottom:5px">{{#if:{{{health|}}}|Health: <span style="color: #008529;">{{{health}}}&nbsp; &nbsp;</span>}}{{#if:{{{mana|}}}|Mana: <span style="color: #345e86;">{{{mana}}}&nbsp;</span>}}</div>
<div class="CharacterDetails" style="font-size: 12px;"><span class="CharacterDescripion" style="margin:0.5em;border-top:1px solid #e4e4e4;border-bottom: 1px solid #e4e4e4;display:block;padding:0.3em;">{{#if:{{{short|}}}|'''{{{short}}}'''<br />||}}{{#if:{{{extended|}}}|''{{{extended}}}''||}}{{#if:{{{con|}}}|<br /><span style="color: #a93d3d;">'''{{{con}}}'''</span>}}</span>
<div class="CharacterDetails" style="font-size: 12px;"><span class="CharacterDescripion" style="margin:0.5em;border-top:1px solid #e4e4e4;border-bottom: 1px solid #e4e4e4;display:block;padding:0.3em;">{{#if:{{{short|}}}|'''{{{short}}}'''<br />||}}{{#if:{{{extended|}}}|''{{{extended}}}''||}}{{#if:{{{con|}}}|<br /><span style="color: #a93d3d;">'''{{{con}}}'''</span>}}</span>
{| style="background: none;border: 0;color: #444444;" cellspacing="5"
{| style="background: none;border: 0;color: #444444;" cellspacing="5"
|- {{#if:{{{guild|}}}||style="display:none;"|}}
|- {{#if:{{{guild|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | Guild: || {{#if:{{{guild|}}}|{{{guild}}}||}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Guild: || {{#if:{{{guild|}}}|{{{guild}}}||}}
|- {{#if:{{{city|}}}||style="display:none;"|}}
|- {{#if:{{{city|}}}||{{#if:{{{nation|}}}||{{#if:{{{council|}}}||style="display:none;"|}}|}}|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | City Affiliation:|| {{#if:{{{city|}}}|{{{city}}}||}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | {{#if:{{{city|}}}|City||}}{{#if:{{{nation|}}}|Nation||}}{{#if:{{{council|}}}|Council||}} Affiliation:|| {{#if:{{{city|}}}|{{{city}}}||}}{{#if:{{{nation|}}}|{{{nation}}}||}}{{#if:{{{council|}}}|{{{council}}}||}}
|- {{#if:{{{towne|}}}||style="display:none;"|}}
|- {{#if:{{{towne|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | Towne Residence: || {{#if:{{{towne|}}}|{{{towne}}}||}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Towne Residence: || {{#if:{{{towne|}}}|{{{towne}}}||}}
|- {{#if:{{{profession|}}}||style="display:none;"|}}
|- {{#if:{{{profession|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | Profession: || {{#if:{{{profession|}}}|{{{profession}}}||}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Profession: || {{#if:{{{profession|}}}|{{{profession}}}||}}
|- {{#if:{{{location|}}}||style="display:none;"|}}
|- {{#if:{{{location|}}}||{{#if:{{{vnum|}}}||style="display:none;"|}}|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | Location: || {{#if:{{{location|}}}|{{{location}}}||}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Location: || {{#if:{{{location|}}}|{{{location}}}||}}{{#if:{{{vnum|}}}| ({{{vnum}}})||}}
|- {{#if:{{{age|}}}||{{#if:{{{playtime|}}}||style="display:none;"|}}|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Age: || {{#if:{{{age|}}}|{{{age}}}||}} (Played for {{#if:{{{playtime|}}}|{{{playtime}}}||}})
|- {{#if:{{{entry|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Entry: || {{#if:{{{entry|}}}|{{{entry}}}||}}
|- {{#if:{{{exit|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Exit: || {{#if:{{{exit|}}}|{{{exit}}}||}}
|- {{#if:{{{attack1|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Attacks: || {{#if:{{{attack1|}}}|* {{{attack1}}}||}}{{#if:{{{attack2|}}}|
* {{{attack2}}}||}}{{#if:{{{attack3|}}}|
* {{{attack3}}}||}}{{#if:{{{attack4|}}}|
* {{{attack4}}}||}}{{#if:{{{attack5|}}}|
* {{{attack5}}}||}}{{#if:{{{attack6|}}}|
* {{{attack6}}}||}}{{#if:{{{attack7|}}}|
* {{{attack7}}}||}}{{#if:{{{attack8|}}}|
* {{{attack8}}}||}}
|- {{#if:{{{notes|}}}||style="display:none;"|}}
|- {{#if:{{{notes|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | Notes: || {{#if:{{{notes|}}}|{{{notes}}}||}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;vertical-align:top;" | Notes: || {{#if:{{{notes|}}}|{{{notes}}}||}}
|- {{#if:{{{playtime|}}}||style="display:none;"|}}
| class="CharacterDetailsLabel" style="font-weight: 600;font-style:italic;" | Time played: || {{#if:{{{playtime|}}}|{{{playtime}}}||}}
|-
|-
|}
|}
</div>
</div>
</div>
</div>
{{#if:{{{npc|}}}|{{#if:{{{species|}}}|[[Category:NPC]][[Category:{{{species|}}}]]|}}||}}
<noinclude>
<noinclude>
{{clear}}
{{clear}}
Line 28: Line 42:
<pre>
<pre>
{{CharacterInfo
{{CharacterInfo
| name = <character name, eg. 'Roven'>
|option=value
| circle = [Magick|Demonic|Anti-Magick|none]
|option=value
| guild = <character guild, eg. 'Bards'>
|...
| race = <character race, eg. 'Sidhe'>
| statpack = <character statpack, eg. 'Intelligent'>
| city = <character city (or remove line for no city), eg. 'Kinsarmar'>
| towne = <character towne (or remove line for no towne), eg. 'Tirhin'>
| profession = <character professions, eg. 'Bard, Druid'>
| short = <room description for NPCs or title for player>
| extended = <character description>
| gender = <gender>
| notes = <any notes you want to add about this character>
| location = <for NPCs, where this character is found>
| health = <health number>
| mana = <mana number>
| con = <CONSIDER line>
| attack1 = <attack description with any afflictions given>
| attack2 = <attack description with any afflictions given>
| attack3 = <attack description with any afflictions given>
| attack4 = <attack description with any afflictions given>
}}
}}
</pre>
</pre>
Where the following options may be used (note the options are all lowercase, though the values may be anything):
* '''name''' = <character name, eg. 'Roven'>
* '''circle''' = [Magick|Demonic|Anti-Magick|none]
* '''guild''' = <character guild, eg. 'Bards'>
* '''race''' = <character race, eg. 'Sidhe'>
* '''species''' = <alternate to race for NPCs, eg. 'Spider'>
* '''npc''' = <'yes', only include this line if an npc>
* '''statpack''' = <character statpack, eg. 'Intelligent'>
* '''city''' = <character city (or remove line for no city), eg. 'Kinsarmar'>
* '''council''' = <alternative to city for forest councils, eg. 'Celidon'>
* '''towne''' = <character towne (or remove line for no towne), eg. 'Tirhin'>
* '''profession''' = <character professions, eg. 'Bard, Druid'>
* '''short''' = <room description for NPCs or title for player>
* '''extended''' = <character description>
* '''gender''' = <gender>
* '''notes''' = <any notes you want to add about this character>
* '''location''' = <for NPCs, where this character is found>
* '''vnum''' = <for NPCs, the vnum of the room they are in (without 'v')>
* '''health''' = <health number>
* '''mana''' = <mana number>
* '''con''' = <CONSIDER line>
* '''entry''' = <entry message>
* '''exit''' = <exit message>
* '''attack1''' = <attack description with any afflictions given>
* '''attack2''' = <attack description with any afflictions given>
* '''attack3''' = <attack description with any afflictions given>
* '''attack4''' = <attack description with any afflictions given>
* '''playtime''' = <how long you have played your character>
* '''age''' = <the age of the NPC>
==Examples==
==Examples==
<pre>
<pre>
{{CharacterInfo
{{CharacterInfo
| name = Enryk
| name = Enryk
| short = Enryk Anar, Pupil of the Storm
| circle = Magick
| circle = Magick
| guild = [[Stormweavers]]
| guild = [[Stormweavers]]
| city = [[Celidon]]
| council = [[Celidon]]
| profession = [[Bard]], [[Druid]]
| profession = [[Bard]], [[Druid]]
| race = [[Sylayan]]
| race = [[Sylayan]]
Line 75: Line 103:
{{CharacterInfo
{{CharacterInfo
| name = Enryk
| name = Enryk
| short = Enryk Anar, Pupil of the Storm
| circle = Magick
| circle = Magick
| guild = [[Stormweavers]]
| guild = [[Stormweavers]]
| city = [[Celidon]]
| council = [[Celidon]]
| profession = [[Bard]], [[Druid]]
| profession = [[Bard]], [[Druid]]
| race = [[Sylayan]]
| race = [[Sylayan]]
1,415

edits