Template talk:Stargate race
From Wikipedia, the free encyclopedia
Contents |
[edit] What to type
{{Stargate race | image = | race = | species = | homeworld = | government = | season= | alliances = | previous_alliances = | first = | key = | |}}
Optional parameter: qrace - to qualify the race of the character without upsetting colour calculation.
Note: List key episodes with quotes and linebreaks, first episode without. Eg:
|first=[[The First Ones (Stargate SG-1)|The First Ones]] |key="[[Beast of Burden (Stargate SG-1)|Beast of Burden]]"<br/>"[[Enemy Mine (Stargate SG-1)|Enemy Mine]]"
[edit] Talk
[edit] bgcolor and fgcolor no longer needed
...as they are defined by {{SGColor}} (and fgcolor is always black). Maintenance has already been done to remove calls to these parameters. If needed, a bit of code can be added to this template to make ones which have deprecated parameters stand out:
{{qif|test={{{bgcolor|}}}|then={{hidden|1=<small><font color="red"><div style="position:relative;left:-2em">your help needed</div></font></small>|2=<small>This template has a parameter <code>bgcolor</code> defined, when that parameter has been deprecated and needs to be removed.<br /></small>[{{SERVER}}{{LOCALURL:{{NAMESPACE}}:{{PAGENAME}}|action=edit&editintro=Template:Stargate_race/Instructions§ion=0}} fix me!]}}|else=}}
With parserfuncs:
edit as appropriate
{{#if: {{{hair|}}}{{{eyes|}}} | {{hidden|1=<small><font color="red"><div style="position:relative;left:-2em">your help needed</div></font></small>|2=<small>This template has a parameter <code>hair</code> or <code>eyes</code> defined, when that parameter has been deprecated and needs to be removed.<br /></small>[{{SERVER}}{{LOCALURL:{{NAMESPACE}}:{{PAGENAME}}|action=edit§ion=0}} fix me!]}} }}
[edit] Season
I've just added a season parameter to show what time the infobox refers to (ie. what does "previous" mean?), however I'm not sure I've done it very well. It doesn't take into account multiple series... Any suggestions on a better way to do it? --Tango 17:11, 24 July 2006 (UTC)
- I don't see what you mean... do you mean it doesnt differentiate a season of SG-1 or Atlantis? --Alfakim-- talk 14:28, 25 July 2006 (UTC)
[edit] Alliances
I think this should be cut down to "associations", and put into a singular list-like field. Following the links will let a reader know what happened to the association/alliance. --Alfakim-- talk 14:28, 25 July 2006 (UTC)
[edit] Added if statement..
Hello. I've added an if statement to the alliances bit as per discussion at Talk:Wraith (Stargate). Matthew Fenton (Talk | Contribs) 14:34, 14 August 2006 (UTC)