Template:Roster/Upgrade: Difference between revisions

added examples
No edit summary
(added examples)
Line 3: Line 3:
|<font size=5>'''Template:Roster'''<br>Face List Upgrade</font>
|<font size=5>'''Template:Roster'''<br>Face List Upgrade</font>
|}
|}
__NOTOC__
 
==Introduction==
==Introduction==
We've upgraded the [[Template:Roster]] code that's used through the fleet so that it can now also include information about the avatars, species, and sexes of characters. This information is displayed on the separate [[Face List]] page that [[118Wiki:Operations|Wiki Ops]] members try to keep updated, but as you can imagine, having a separate Face List roster for each ship was effectively making people take care of two separate rosters. This meant double the work every time there's a change to the roster, whether new officer or departing officer, and so invariably the Face List falls out of date.
We've upgraded the [[Template:Roster]] code that's used through the fleet so that it can now also include information about the avatars, species, and sexes of characters. This information is displayed on the separate [[Face List]] page that [[118Wiki:Operations|Wiki Ops]] members try to keep updated, but as you can imagine, having a separate Face List roster for each ship was effectively making people take care of two separate rosters. This meant double the work every time there's a change to the roster, whether new officer or departing officer, and so invariably the Face List falls out of date.
Line 9: Line 9:
[[User:Sky Blake|Deliera]] and I have been trying to work on a solution for some time, and we've decided the best solution is to eliminate the need to update a second roster. Now, with the upgraded [[Template:Roster]], the wiki is able to use the original data you put on your ship's roster page and interpret it differently depending on if the data is sent to the [[Fleet Roster]] page versus the [[Face List]] page.
[[User:Sky Blake|Deliera]] and I have been trying to work on a solution for some time, and we've decided the best solution is to eliminate the need to update a second roster. Now, with the upgraded [[Template:Roster]], the wiki is able to use the original data you put on your ship's roster page and interpret it differently depending on if the data is sent to the [[Fleet Roster]] page versus the [[Face List]] page.


What does this mean to the casual viewer? Not much. Your ship roster page still looks the same both on the original ship roster and the Fleet Roster. However, on the Face List page, the wiki changes the background color of the cells to reveal the hidden text where the avatar, species, and sex data is displayed.
What does this mean to the casual viewer? Not much. Your ship roster page still looks the same both on the original ship roster and the Fleet Roster. However, when your roster is [http://www.mediawiki.org/wiki/Transclusion transcluded] onto the Face List page, the wiki changes the background color of the cells to reveal the hidden text where the avatar, species, and sex data is displayed.


{{bluebox|The new optional variables are:
{{bluebox|The new optional variables are:
Line 22: Line 22:
<pre style="white-space:pre-wrap">
<pre style="white-space:pre-wrap">
{{Captain|Cassandra|Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg|STYLE=DS9|AVATAR=Danai Gurira|SPECIES=Human|SEX=Female}}</pre>
{{Captain|Cassandra|Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg|STYLE=DS9|AVATAR=Danai Gurira|SPECIES=Human|SEX=Female}}</pre>
On your ship's roster page and '''[[Fleet Roster]]''', it will look like this:
{{Roster|SHIP=USS Garuda|{{Captain|Cassandra|Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg|STYLE=DS9|AVATAR=Danai Gurira|SPECIES=Human|SEX=Female}}}}
On the '''[[Face List]]''', it looks like this:
{{Face List|SHIP=USS Garuda|{{Captain|Cassandra|Egan Manno|Red|Commanding Officer|Roster-eganmanno.jpg|STYLE=DS9|AVATAR=Danai Gurira|SPECIES=Human|SEX=Female}}}}


All the Face List parameters are '''optional''' and Template:Roster will continue to work without adding them. Ship rosters set up the old way will still work.
All the Face List parameters are '''optional''' and Template:Roster will continue to work without adding them. Ship rosters set up the old way will still work.