Contents

501st MediaWiki Extension

This is the home of the 501st Membership DB wiki extension. It has a variety of modules to help reduce redundancy. In our systems.

Costumes

CRL list

Description: Given a catagory_id and detachment_id, provides a list of CRLs for those parameters. Requires that the costume table in 501st_members be populated. If a CRL is listed in the DB as IGNORE it will not be displayed (i.e. to hide things like the generic stormtrooper).

Wiki Code:

 {{ #crllist : 26|1111 }}

Resulting output:

 CRLtextcomplete.jpg RC - Republic Commando: Atin

CRLcomplete.jpg RC - Republic Commando: Boss
CRLcomplete.jpg RC - Republic Commando: Darman
CRLtextcomplete.jpg RC - Republic Commando: Fi
CRLcomplete.jpg RC - Republic Commando: Fixer
CRLcomplete.jpg RC - Republic Commando: Grunt (White / Black)
CRLcomplete.jpg RC - Republic Commando: Niner
CRLcomplete.jpg RC - Republic Commando: Scorch
CRLcomplete.jpg RC - Republic Commando: Sev


Detachments

Detachment ID list

Description: Gives a list of detachment IDs and names. The ID is used by the other functions, so this is a good reference.

Wiki Code:

 {{ #detlist : 1 }}

Resulting output:

1102 Jolly Roger Squadron
1103 PathFinders
1104 Mos Eisley Police Department
1105 Bounty Hunters Guild
1106 Armored Cavalry Detachment
1107 Blizzard Force
1108 Imperial Officer Corps
1109 Krayt Clan
1110 Sith Lord Detachment
1111 Clone Trooper Detachment
1112 Imperial Gunnery Corps
1113 Spec Ops Detachment
1114 Sovereign Protectors
1115 Flagship Eclipse Detachment
1116 First Imperial Stormtrooper Detachment


Detachment Name

Description: Return text of detachment name.

Wiki Code:

 {{ #detname : unit_id }}

Resulting output:

Jolly Roger Squadron

Detachment URL

Description: Return wikicode for the detachment URL, with detachment name as the text.

Wiki Code:

 {{ #deturl : unit_id }}

Result:

Jolly Roger Squadron

Description: Return wikicode for detachment logo, inline image.

Wiki Code:

 {{ #detlogo : unit_id }}

Result:


Jolly-Roger-Squadron.png

Detachment Theme

Description:

Return text from the detachment description in the membeship database.

Wiki Code:

 {{ #detheme : unit_id }}

Result:

TIE Pilots

Personal tools
The 501st Legion is a worldwide Star Wars costuming organization comprised of and operated by Star Wars fans. While it is not sponsored by Lucasfilm Ltd., it is Lucasfilm's preferred Imperial costuming group. Star Wars, its characters, costumes, and all associated items are the intellectual property of Lucasfilm. © & ™ Lucasfilm Ltd. All rights reserved. Used under authorization.