More languages
More actions
m ok.. |
m Text replacement - "\[\[es\:(.*)\]\]" to "" |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" | <includeonly>{| class="infobox" | ||
|- | |- class="infoboxheader" | ||
| colspan="2" | | | colspan="2"| | ||
{| | {| | ||
|- | |- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%" | ||
| width="27"| {{#switch:{{{series|}}} | | width="27" | {{#switch:{{{series|}}} | ||
| tos | | tos | ||
| TOS= | | TOS={{Click | ||
| image = BSG 1978 Patch.png | |||
| width = 25px | |||
| height = 25px | |||
| link = Battlestar Galactica (TOS) | |||
}} | |||
| rdm | | rdm | ||
| RDM | | RDM | ||
| #default= {{Click | |||
| image = Colonial Seal.svg | |||
| width = 25px | |||
| height = 30px | |||
| link = Battlestar Galactica (RDM) | |||
}} | |||
| caprica | | caprica | ||
| Caprica= | | Caprica= {{Click | ||
| 1980= | | image = ColonialColors3.png | ||
| | | width = 25px | ||
| height = 25px | |||
| link = Caprica (RDM) | |||
}} | |||
| 1980= {{Click | |||
| image = Stuart Zee.jpg | |||
| width = 25px | |||
| height = 25px | |||
| link = Galactica 1980 | |||
}} | |||
}} | }} | ||
| style="text-align: center;" | '''{{{title|{{PAGENAME}}}}}''' | | style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}''' | ||
|} | |} | ||
|- class="hiddenStructure{{{photo|}}}" | |- class="hiddenStructure{{{photo|}}}" | ||
Line 98: | Line 118: | ||
|} | |} | ||
<!-- Categories --> | <!-- Categories --> | ||
<div style="visibility:hidden; display:none;"> | |||
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}} | {{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}} | ||
{{#if:{{{cat|}}}| | |||
[[Category: A to Z]] | [[Category: A to Z]] | ||
[[Category: Characters]] | [[Category: Characters]] | ||
Line 105: | Line 127: | ||
| 1980=[[Category: Characters (1980)]] | | 1980=[[Category: Characters (1980)]] | ||
| caprica | | caprica | ||
| Caprica=[[Category: Characters (Caprica)]] | | Caprica=[[Category: Characters (Caprica)]] [[Category: Characters (RDM)]] | ||
| rdm | | rdm | ||
| RDM=[[Category: Characters (RDM)]] | | RDM=[[Category: Characters (RDM)]] | ||
Line 112: | Line 134: | ||
| #default= | | #default= | ||
}} | }} | ||
{{#if:{{{cylon|}}}|[[Category: Cylons]] [[Category: Cylons (RDM)]]}} | |||
{{#if:{{{5cylon|}}}|[[Category: Cylons]] [[Category: Cylons (RDM)]]}} | |||
{{#if:{{{hcylon|}}}|[[Category: Cylons]] [[Category: Cylons (RDM)]]}} | |||
{{#if:{{{mcylon|}}}|[[Category: Cylons]] [[Category: Cylons (TOS)]]}} | |||
{{#if:{{{death|}}}| [[Category: Deceased Characters]] | {{#if:{{{death|}}}| [[Category: Deceased Characters]] | ||
Line 119: | Line 146: | ||
| #default=[[Category: Deceased Characters ({{{series}}})]] | | #default=[[Category: Deceased Characters ({{{series}}})]] | ||
}} | }} | ||
| | |||
}} | }} | ||
{{#if:{{{main}}}| | {{#if:{{{main|}}}| | ||
{{#switch:{{{series|}}} | {{#switch:{{{series|}}} | ||
| caprica | | caprica | ||
Line 127: | Line 155: | ||
| #default=[[Category: Main Characters ({{{series}}})]] | | #default=[[Category: Main Characters ({{{series}}})]] | ||
}} | }} | ||
| | |||
}} | }} | ||
{{#if:{{{oneshot}}}| | {{#if:{{{oneshot|}}}| | ||
{{#switch:{{{series|}}} | {{#switch:{{{series|}}} | ||
| caprica | | caprica | ||
Line 135: | Line 164: | ||
| #default=[[Category: One-Shot Characters ({{{series}}})]] | | #default=[[Category: One-Shot Characters ({{{series}}})]] | ||
}} | }} | ||
| | |||
}} | }} | ||
{{#if:{{{colony}}}|[[Category: People from {{{colony}}}]]}} | {{#if:{{{colony|}}}|[[Category: People from {{{colony}}}]]}} | ||
{{#if:{{{recurring}}} | {{#if:{{{recurring|}}}| | ||
{{#switch:{{{series|}}} | {{#switch:{{{series|}}} | ||
| caprica | | caprica | ||
Line 145: | Line 175: | ||
| #default=[[Category: Recurring Guest Characters ({{{series}}})]] | | #default=[[Category: Recurring Guest Characters ({{{series}}})]] | ||
}} | }} | ||
| | |||
}} | }} | ||
{{#switch:{{{series|}}} | {{#switch:{{{series|}}} | ||
| 1980=[[Category: 1980]] | | 1980=[[Category: 1980]] | ||
Line 157: | Line 187: | ||
| #default= | | #default= | ||
}} | }} | ||
| <!-- Categorization is not automatically applied. -->}} | |||
</div> | |||
<!-- End Categories --> | <!-- End Categories --> | ||
Line 168: | Line 200: | ||
{{Character Data | {{Character Data | ||
| title= | | title= | ||
| name= | |||
| photo= | | photo= | ||
| photo 2= | | photo 2= | ||
Line 197: | Line 230: | ||
| sepcon= | | sepcon= | ||
| series= | | series= | ||
| | | main= | ||
| | | recurring= | ||
| oneshot= | |||
| cat= | |||
}} | }} | ||
</pre> | </pre> | ||
=== Required Parameters === | |||
* '''series''': This is the designation for the series that this character is a part of. Values are '''TOS''', '''1980''', '''Caprica''' and '''RDM'''. Defaults to '''RDM''' option, since a majority of the character articles are in that continuity. | |||
* '''seen''': The episode in which the character first appears. Do not wikify. | |||
* '''pseen''': If the episode name is different than the article name, this is what will displayed. Do not wikify. | |||
* '''role''': Current job or position. | |||
=== Optional parameters === | === Optional parameters === | ||
Line 215: | Line 257: | ||
* '''callsign''': The character's "callsign" if he or she is a pilot. | * '''callsign''': The character's "callsign" if he or she is a pilot. | ||
* '''nickname''': The character's "nickname" if applicable. | * '''nickname''': The character's "nickname" if applicable. | ||
* '''death''': When, Where, and How they died. Please wikify the episode. | * '''death''': When, Where, and How they died. Please wikify the episode. | ||
* '''parents''': Who are their parents. | * '''parents''': Who are their parents. | ||
Line 223: | Line 263: | ||
* '''marital status''': What's their current marital status. | * '''marital status''': What's their current marital status. | ||
* '''familytree''': Set this to '''Y''' if they have a family tree. The section in the article should be <code>Family tree</code>. | * '''familytree''': Set this to '''Y''' if they have a family tree. The section in the article should be <code>Family tree</code>. | ||
* '''rank''': Current rank if in the military. | * '''rank''': Current rank if in the military. | ||
* '''serial''': Serial number, if in the military. | * '''serial''': Serial number, if in the military. | ||
Line 242: | Line 281: | ||
* '''series''': Insert the series acronym that the separate continuity is a part of. Values are '''TOS''', '''1980''', and '''RDM'''. | * '''series''': Insert the series acronym that the separate continuity is a part of. Values are '''TOS''', '''1980''', and '''RDM'''. | ||
: '''Note:''' This is only for articles where the name crosses more than one continuity. For instance, "Boxey" is both a character in the Original Series as well as the Re-imagined Series. So an article on Boxey in the separate continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to [[Boxey (TOS alternate)]]. | : '''Note:''' This is only for articles where the name crosses more than one continuity. For instance, "Boxey" is both a character in the Original Series as well as the Re-imagined Series. So an article on Boxey in the separate continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to [[Boxey (TOS alternate)]]. | ||
==== Categorization ==== | |||
Categorization with this template can be turned on by adding <tt>| cat=Y</tt> to the template. By default, automatic categorization is '''deactivated'''. | |||
* '''cat''': Insert '''Y''' to activate automatic categorization. | |||
You must also have the '''series''' parameter defined as well if you are to use automatic categorization! | |||
Once categorization is enabled, the following categories are automatically defined: [[:Category:A to Z]], [[:Category:Characters]], and the series-related categories (e.g. [[:Category:Characters (RDM)]] and [[:Category:RDM]]). | |||
By defining the "death" attribute, you apply the [[:Category:Deceased Characters]] and the appropriate sub category (e.g. [[:Category:Deceased Characters (RDM)]]). | |||
By defining the "colony" attribute, you automatically apply [[:Category:People from [Colony]]]. (e.g. defining "Aerelon" adds the character to [[:Category:People from Aerelon]]). | |||
By defining the Cylon attributes above, you automatically apply the appropriate Cylon categories. | |||
Additional categories that can be auto-added include: | |||
* '''main''': Insert '''Y''' to add the character to the "One-Shot Characters" category. | |||
* '''oneshot''': Insert '''Y''' to add the character to the "One-Shot Characters" category. | |||
* '''recurring''': Insert '''Y''' to add the character to the "Recurring Guest Characters" category. | |||
[[Category:Infobox|Character]] | [[Category:Infobox|Character]] | ||
Line 247: | Line 308: | ||
[[de:Vorlage:Charakterdaten]] | [[de:Vorlage:Charakterdaten]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:41, 23 June 2020
Documentation
This template is used to place an Character info on a Battlestar Wiki articles. It provides lower case parameters only.
Usage
{{Character Data | title= | name= | photo= | photo 2= | caption= | caption 2= | age= | colony= | birthplace= | birthname= | birthdate= | callsign= | nickname= | seen= | pseen= | death= | parents= | siblings= | children= | marital status= | familytree= | role= | rank= | serial= | actor= | cylon= | 5cylon= | hcylon= | mcylon= | sepcon= | series= | main= | recurring= | oneshot= | cat= }}
Required Parameters
- series: This is the designation for the series that this character is a part of. Values are TOS, 1980, Caprica and RDM. Defaults to RDM option, since a majority of the character articles are in that continuity.
- seen: The episode in which the character first appears. Do not wikify.
- pseen: If the episode name is different than the article name, this is what will displayed. Do not wikify.
- role: Current job or position.
Optional parameters
- title: If different from the article name.
- photo: The filename of the photo.
- photo 2: The file name for a second photo, which goes on the bottom of the infobox.
- caption: The caption of the first photo.
- caption 2: The caption of the second photo.
- age: The approximate age of the character.
- colony: The character's home colony.
- birthplace: If the character was not born on one of The Twelve Colonies, then use this parameter instead of "colony".
- birthname: The full birthname of the character.
- birthdate: The date of birth. Approximate. Link to a Timeline page if needed.
- callsign: The character's "callsign" if he or she is a pilot.
- nickname: The character's "nickname" if applicable.
- death: When, Where, and How they died. Please wikify the episode.
- parents: Who are their parents.
- siblings: Who is related to them.
- children: How many children does this character have.
- marital status: What's their current marital status.
- familytree: Set this to Y if they have a family tree. The section in the article should be
Family tree
. - rank: Current rank if in the military.
- serial: Serial number, if in the military.
- actor: Actor/actress who plays this character. Please wikify.
- name: If the character is a Cylon, this is their human name. For example, "Sharon Valerii" for Number Eight.
RDM
- cylon: Insert Y to indicate that this character is a Cylon.
- 5cylon: Insert Y to indicate that this character is a member of the Final Five.
- hcylon: Insert Y to indicate that this character is a Cylon Hybrid.
TOS
- mcylon: Insert Y to indicate that this character is a Cylon.
Separate Continuity
- sepcon: Insert Y to indicate that a separate continuity article is available on the subject.
- series: Insert the series acronym that the separate continuity is a part of. Values are TOS, 1980, and RDM.
- Note: This is only for articles where the name crosses more than one continuity. For instance, "Boxey" is both a character in the Original Series as well as the Re-imagined Series. So an article on Boxey in the separate continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to Boxey (TOS alternate).
Categorization
Categorization with this template can be turned on by adding | cat=Y to the template. By default, automatic categorization is deactivated.
- cat: Insert Y to activate automatic categorization.
You must also have the series parameter defined as well if you are to use automatic categorization!
Once categorization is enabled, the following categories are automatically defined: Category:A to Z, Category:Characters, and the series-related categories (e.g. Category:Characters (RDM) and Category:RDM).
By defining the "death" attribute, you apply the Category:Deceased Characters and the appropriate sub category (e.g. Category:Deceased Characters (RDM)).
By defining the "colony" attribute, you automatically apply [[:Category:People from [Colony]]]. (e.g. defining "Aerelon" adds the character to Category:People from Aerelon).
By defining the Cylon attributes above, you automatically apply the appropriate Cylon categories.
Additional categories that can be auto-added include:
- main: Insert Y to add the character to the "One-Shot Characters" category.
- oneshot: Insert Y to add the character to the "One-Shot Characters" category.
- recurring: Insert Y to add the character to the "Recurring Guest Characters" category.