More languages
More actions
m closing comment syntax |
m Text replacement - "\[\[es\:(.*)\]\]" to "" |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
| 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;" width="95%" | '''{{{title|{{PAGENAME}}}}}''' | | style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}''' | ||
Line 98: | Line 118: | ||
|} | |} | ||
<!-- Categories --> | <!-- Categories --> | ||
<div style="visibility:hidden; display:none;"> | |||
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}} | {{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}} | ||
{{#if:{{{ | {{#if:{{{cat|}}}| | ||
[[Category: A to Z]] | [[Category: A to Z]] | ||
[[Category: Characters]] | [[Category: Characters]] | ||
Line 156: | Line 177: | ||
| | | | ||
}} | }} | ||
{{#switch:{{{series|}}} | {{#switch:{{{series|}}} | ||
| 1980=[[Category: 1980]] | | 1980=[[Category: 1980]] | ||
Line 167: | Line 187: | ||
| #default= | | #default= | ||
}} | }} | ||
| <!-- Categorization is not automatically applied. -->}} | |||
}} | </div> | ||
<!-- End Categories --> | <!-- End Categories --> | ||
Line 180: | Line 200: | ||
{{Character Data | {{Character Data | ||
| title= | | title= | ||
| name= | |||
| photo= | | photo= | ||
| photo 2= | | photo 2= | ||
Line 212: | Line 233: | ||
| recurring= | | recurring= | ||
| oneshot= | | oneshot= | ||
| | | cat= | ||
}} | }} | ||
</pre> | </pre> | ||
=== Required Parameters == | === Required Parameters === | ||
* '''series''': This is the designation for the series that this character is a part of. Values are '''TOS''', '''1980''', '''Caprica''' and '''RDM'''. | * '''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 233: | 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 241: | 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 263: | Line 284: | ||
==== Categorization ==== | ==== Categorization ==== | ||
Categorization with this template is automatic. | 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 269: | 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.