Template:Infobox character: Difference between revisions
Appearance
This needs an update |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:300px;" | {| class="infobox" style="font-size:89%; width:300px;" | ||
|- | |- | ||
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
| ''' | {{#if: {{{civname|}}} | {{!}} '''Civilian Name''' {{!!}} {{{civname}}} }} | ||
|- | |- | ||
| ''' | {{#if: {{{alias|}}} | {{!}} '''Aliases''' {{!!}} {{{alias}}} }} | ||
|- | |- | ||
| ''' | {{#if: {{{designation|}}} | {{!}} '''Designation''' {{!!}} {{{designation}}} }} | ||
|- | |- | ||
| ''' | {{#if: {{{side|}}} | {{!}} '''Side''' {{!!}} {{{side}}} }} | ||
|- | |- | ||
| ''' | {{#if: {{{team|}}} | {{!}} '''Teams''' {{!!}} {{{team}}} }} | ||
|- | |- | ||
| ''' | {{#if: {{{relations|}}} | {{!}} '''Relations''' {{!!}} {{{relations}}} }} | ||
|- | |- | ||
|}<noinclude><br style="clear:both;" /> | |}<noinclude><br style="clear:both;" /> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 03:56, May 26, 2012
{{#if: | | Civilian Name || {{{civname}}} }}
{{#if: | | Aliases || {{{alias}}} }}
{{#if: | | Designation || {{{designation}}} }}
{{#if: | | Side || {{{side}}} }}
{{#if: | | Teams || {{{team}}} }}
{{#if: | | Relations || {{{relations}}} }}
The Protectorate (honorary) | | Teams || The Guild
The Protectorate (honorary) }} {{#if: Andrew Richter (creator, deceased) | | Relations || Andrew Richter (creator, deceased) }}
| Infobox character |
|---|
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to create a character infobox.
- Syntax
- Type
{{infobox character{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}somewhere, with parameters as shown below. - Sample output
{{infobox character
| name = Dragon
| alias = Dragon
| civname = None
| gender = Female
| classification = [[Tinker]]
| align = Hero
| status = Active
| team = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| location = Vancouver, Canada
| relations = [[Andrew Richter]] (creator, deceased)
}}
Results in...
{{#if: None | | Civilian Name || None }} {{#if: Dragon | | Aliases || Dragon }} {{#if: | | Designation || {{{designation}}} }} {{#if: | | Side || {{{side}}} }} {{#if: The GuildThe Protectorate (honorary) | | Teams || The Guild
The Protectorate (honorary) }} {{#if: Andrew Richter (creator, deceased) | | Relations || Andrew Richter (creator, deceased) }}
| Dragon |
|---|
Visit Template:Infobox character/doc to edit this text! (How does this work?)