Category:ID subpages: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
===2. Then put the following code in the subpage, replacing Bakari's information with your character's information:===
===2. Then put the following code in the subpage, replacing Bakari's information with your character's information:===
<pre style="white-space:pre-wrap;">
<pre style="white-space:pre-wrap;">
<noinclude>{{ID|{{:Bakari, Msafiri/ID|TEMPLATE=Member}}}}</noinclude>
<noinclude>{{ID|{{:{{PAGENAME}}|TEMPLATE=Member}}}}</noinclude>
<includeonly>{{{{{TEMPLATE|}}}
<includeonly>{{{{{TEMPLATE|}}}
|NAME=Msafiri|Bakari
|NAME=Msafiri|Bakari

Revision as of 22:37, 19 July 2015

NOTICE: This feature is still in testing and changes may be made to its exact implementation.

ID subpages can now be used by Template:Roster. Instead of having to specify the extra information such as AVATAR, SPECIES, SEX, etc. each time on the roster, you can place all this information on an ID subpage of that character.

Template:Roster will then take the information from that subpage to display the character on the ship's roster.

This allows the ship roster page code to be relatively clean and makes it easy when transferring characters between ships.

Example:

How to Use

1. Create a subpage to your character's page called ID.

Example:

2. Then put the following code in the subpage, replacing Bakari's information with your character's information:

<noinclude>{{ID|{{:{{PAGENAME}}|TEMPLATE=Member}}}}</noinclude>
<includeonly>{{{{{TEMPLATE|}}}
|NAME=Msafiri|Bakari
|IMAGE=Bakari.jpg
|MOVE UP=15
|MOVE LEFT=
|ZOOM=
|USER=Rich
|AVATAR=Boris Kodjoe
|SPECIES=Human
|SEX=Male
|AUTHOR=I238705TZ0
|COLOR={{{1|Red}}}
|POST={{{2|First Officer}}}
|LOA={{{3|}}}}}</includeonly>

You must leave the numbers 1, 2, and 3 in the last three variables COLOR, POST, and LOA for Template:Roster to be able to use your subpage properly.

3. Then, on your ship's roster page itself, use the following code to display your character:

{{Officer|Rank|Character Page|Color|Duty Post}}

Note that you must specific the title of the character's page itself (which is often in a "Last Name, First Name" format) rather than the previous "First Name|Last Name" way of entering in characters.

Example:

{{Officer|Lt. Commander|Bakari, Msafiri|Red|Adjunct}}
Insignia Rank/Title Portrait Character Name Duty Post
04-LtCmdr-Red.png
Lt. Commander
Bakari.jpg
I238705TZ0
Msafiri Bakari
Adjunct

Notice that on the roster, Bakari's duty post of Adjunct overrode the duty post we had specified on his ID subpage (First Officer).

The duty post and color specified on the roster overrides any color or duty post specified on the ID page.

Change pip style

As before, you can still change the pip style by adding STYLE= and specifying the alternative pipstyle you want.

{{Officer|Lt. Commander|Bakari, Msafiri|Red|Adjunct|STYLE=DS9}}
Insignia Rank/Title Portrait Character Name Duty Post
DS9style-ltcmdr red.png
Lt. Commander
Bakari.jpg
I238705TZ0
Msafiri Bakari
Adjunct

Face List

This is how Bakari's entry appears on the Face List, revealing the extra information from his ID page:

Insignia Rank/Title Portrait Writer, Character, Avatar Author ID Number, Post, Species/Sex
04-LtCmdr-Red.png
Lt. Commander
Bakari.jpg
I238705TZ0
Msafiri Bakari
Adjunct

Officers on LOA

If you want to put a character on LOA, just change "Officer" to "LOA Officer" like so:

{{LOA Officer|Lt. Commander|Bakari, Msafiri|Red|Adjunct}}

And it will be displayed as usual in the LOA style:

Insignia Rank/Title Portrait Character Name Duty Post
04-LtCmdr-Red.png
Lt. Commander
Bakari.jpg

Msafiri Bakari
Adjunct

Questions/Comments?

Just let me know. ♫ Rich118Wiki AdministratorSend Message

Pages in category "ID subpages"

The following 200 pages are in this category, out of 1,314 total.

(previous page) (next page)

A

(previous page) (next page)