Template:Infobox DeadCharData: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
|- | |- | ||
| style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" | Class | | style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" | Class | ||
| style="padding: 5px;" | {{{Class}}} {{#if: {{{Subclass|}}} |/ {{{Subclass}}}|}} | | style="padding: 5px;" | {{{Class|}}} {{#if: {{{Subclass|}}} |/ {{{Subclass|}}}|}} | ||
{{#if: {{{Age|}}} |{{!}}- | {{#if: {{{Age|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Age | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Age | ||
{{!}} style="padding: 5px;" {{!}} {{{Age}}} years|}} | {{!}} style="padding: 5px;" {{!}} {{{Age}}} years|}} | ||
{{#if: {{{Honor|}}} |{{!}}- | {{#if: {{{Honor|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Honour | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Honour | ||
{{!}} style="padding: 5px;" {{!}} {{{Honor}}}|}} | {{!}} style="padding: 5px;" {{!}} {{{Honor|}}}|}} | ||
{{#if: {{{Prestige|}}} |{{!}}- | {{#if: {{{Prestige|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Prestige | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Prestige | ||
{{!}} style="padding: 5px;" {{!}} {{{Prestige}}}|}} | {{!}} style="padding: 5px;" {{!}} {{{Prestige|}}}|}} | ||
{{#if: {{{Rank|}}} |{{!}}- | {{#if: {{{Rank|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Rank | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Rank | ||
{{!}} style="padding: 5px;" {{!}} {{{Rank}}}|}} | {{!}} style="padding: 5px;" {{!}} {{{Rank|}}}|}} | ||
{{#if: {{{Region|}}} |{{!}}- | {{#if: {{{Region|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Region | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Region | ||
{{!}} style="padding: 5px;" {{!}} {{{Region}}}|}} | {{!}} style="padding: 5px;" {{!}} {{{Region|}}}|}} | ||
{{#if: {{{Duchy|}}} |{{!}}- | {{#if: {{{Duchy|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Duchy | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Duchy | ||
{{!}} style="padding: 5px;" {{!}} {{{Duchy}}}|}} | {{!}} style="padding: 5px;" {{!}} {{{Duchy|}}}|}} | ||
{{#if: {{{Realm|}}} |{{!}}- | {{#if: {{{Realm|}}} | | ||
{{!}}- | |||
{{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Realm | {{!}} style="padding: 5px; background: {{{SideColor|#ddf}}}; font-weight:bold;" {{!}} Realm | ||
{{!}} style="padding: 5px;" {{!}} {{{Realm}}}|}} | {{!}} style="padding: 5px;" {{!}} {{{Realm|}}}|}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Revision as of 16:23, 26 May 2011
Template Documentation |
This documentation is transcluded from Template:Infobox DeadCharData/doc. |
IntroThis template is for use on the character pages of dead characters. It matches the formatting and data presented in the semantic template for living characters: Template:Infobox CharData. The difference being that this template lets you specify all the data, because dead characters are not present in the external data feeds. UsageSimply copy the template sample given below, and provide whatever data you want to give. Anything you don't provide will be omitted completely. {{Infobox DeadCharData | Background = | TitleColor = | SideColor = | Name = | Banner = | BannerTag = | Continent = | Family = | Class = | Subclass = | Age = | Honor = | Prestige = | Rank = | Region = | Duchy = | Realm = }} Details
ColorsYou can optionally specify background colors for the different areas of the infobox by using the Background, TitleColor, and SideColor parameters. You can use color names, or any valid color code used in HTML. Experiment with the different colors to get the effect desired. GraphicsYou can optionally include a graphic to be displayed between the character name and the statistics. The image must be uploaded to the wiki, you cannot use external graphics. Note that if you use a wide graphic, the entire box will be as wide as the graphic, and may look awkward. If you have a large graphic, you may not want to include it as part of the infobox. To add the graphic, and an optional caption, include the image name (only the name, do not include the "Image:" part) and optional caption using the "Banner" and "BannerTag" parameters.
|