Difference between revisions of "Template:BookCharacterInfo"

From Tar Valon Library
Jump to: navigation, search
 
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|style="text-align: center; padding: 10px;" colspan="2"|<center>
 
|style="text-align: center; padding: 10px;" colspan="2"|<center>
 
{|
 
{|
|style="border: 1px solid black; background-color: white; padding: 2px;"|{{#ifexist:{{{CharacterImage}}}|[[Image:{{{CharacterImage}}}|250px|alt={{{altText}}}]]|[[Image:Logo3.png|250px|alt={{{altText}}}]]}}
+
|style="border: 1px solid black; background-color: white; padding: 2px;"|{{#if:{{{CharacterImage}}}|[[Image:{{{CharacterImage}}}|250px|alt={{{altText}}}]]|[[Image:Wheel and Serpent Chapter Icon.png|150px|alt=Wheel and Serpent chapter icon]]}}
 
|}
 
|}
 
</center>
 
</center>
 
|-
 
|-
|style="color: black; background-color: #f9e9fc; text-align: center; font-size: 13px;" colspan="2"|'''{{{Name}}}'''
+
|style="border: 1px solid #888888; border-width: 1px 0px; color: black; background-color: #f9e9fc; text-align: center; font-size: 13px;" colspan="2"|'''{{{Name}}}'''
 
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|style="padding: 3px;"|Nationality
 
|style="padding: 3px;"|Nationality
 
|style="padding: 3px;"|{{{Nationality}}}
 
|style="padding: 3px;"|{{{Nationality}}}
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|style="padding: 3px;"|Organization
 
|style="padding: 3px;"|{{{Organization}}}
 
 
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|style="padding: 3px;"|Affiliation
 
|style="padding: 3px;"|Affiliation
 
|style="padding: 3px;"|{{{Affiliation}}}
 
|style="padding: 3px;"|{{{Affiliation}}}
 +
{{#ifeq:{{{Affiliation}}}|Aes Sedai|{{AjahRow|{{{Ajah}}}}}|}}
 
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|- style="border: 1px solid #888888; border-width: 1px 0px;"
 
|style="padding: 3px;"|Social Status
 
|style="padding: 3px;"|Social Status
Line 26: Line 24:
 
|style="padding: 3px;"|{{{FirstAppearance}}}
 
|style="padding: 3px;"|{{{FirstAppearance}}}
 
|}
 
|}
<noinclude>[[Category:Book Templates| ]]</noinclude>
+
<noinclude>When you use this template, you may be able to put a picture in the CharacterImage place, but if you have no image, just leave that field empty and it will automatically fill it in with the Wheel and Serpent icon. If you put an image of the character, do not forget to also add altText.
 +
 
 +
If the character you are editing is an Aes Sedai in the field Affiliation you should write 'Aes Sedai' (without the quotation marks) and include an additional Ajah field, where you write the Ajah of the character.
 +
[[Category:Book Templates| ]]</noinclude>

Latest revision as of 00:19, 18 February 2022

[[Image:{{{CharacterImage}}}|250px|alt={{{altText}}}]]
{{{Name}}}
Nationality {{{Nationality}}}
Affiliation {{{Affiliation}}}
Social Status {{{SocialStatus}}}
Family {{{Family}}}
First Appearance {{{FirstAppearance}}}

When you use this template, you may be able to put a picture in the CharacterImage place, but if you have no image, just leave that field empty and it will automatically fill it in with the Wheel and Serpent icon. If you put an image of the character, do not forget to also add altText.

If the character you are editing is an Aes Sedai in the field Affiliation you should write 'Aes Sedai' (without the quotation marks) and include an additional Ajah field, where you write the Ajah of the character.