Template:LiamTemplateSandbox: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
Liam McFlear (talk | contribs) No edit summary |
Liam McFlear (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
===This is a coding mess. I will work on it later. My brain hurts now.=== | ===This is a coding mess. I will work on it later. My brain hurts now.=== | ||
{| style="border:solid #ff8040 3px; width:400px; -moz-border-radius:6px; background-color:#FfFacd" | <includeonly>{| style="border:solid #ff8040 3px; width:400px; -moz-border-radius:6px; background-color:#FfFacd" | ||
| rowspan= | |- | ||
| rowspan=2 | [[Image:MCDUlogo.png|130px]] || style="background:#FfFacd; color:black; font-size: 130%; font-family: Courier New" align="center" width="100%"| '''[[Malton Civil Defense Unit |MCDU]]: {{{Name|{{PAGENAME}}}}}'s Ribbons''' | |||
|- | |- | ||
| valign="top"| | | valign="top"| | ||
{| style="background-color: | {| style="background-color:white" width="100%" | ||
|width="70px" height="20px"|{{ifdef|{{{WM|}}}|[[Image:The Weaponmaster Ribbon.jpg|90px|WeaponMaster]]}} | |width="70px" height="20px"|{{ifdef|{{{WM|}}}|[[Image:The Weaponmaster Ribbon.jpg|90px|WeaponMaster]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{HH|}}}|[[Image:Hand_to_Hand_Specialist_Ribbon.jpg|90px|HandSpecialist]]}} | |width="70px" height="20px"|{{ifdef|{{{HH|}}}|[[Image:Hand_to_Hand_Specialist_Ribbon.jpg|90px|HandSpecialist]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{FR|}}}|[[Image:Fitness_Ribbon.jpg|90px|Fitness]]}} | |width="70px" height="20px"|{{ifdef|{{{FR|}}}|[[Image:Fitness_Ribbon.jpg|90px|Fitness]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{SR|}}}|[[Image:Sniper's_Ribbon.jpg|90px|Sniper]]}} | |||
|- | |- | ||
|width="70px" height="20px"|{{ifdef|{{{CS|}}}|[[Image:Community_Support_Ribbon.jpg|90px|Community Support]]}} | |width="70px" height="20px"|{{ifdef|{{{CS|}}}|[[Image:Community_Support_Ribbon.jpg|90px|Community Support]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{RO|}}}|[[Image:Radio_Operator_Ribbon_3D.jpg|90px|Radio Operator]]}} | |width="70px" height="20px"|{{ifdef|{{{RO|}}}|[[Image:Radio_Operator_Ribbon_3D.jpg|90px|Radio Operator]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{ER|}}}|[[Image:Engineer's_Ribbon.jpg|90px|Engineer]]}} | |width="70px" height="20px"|{{ifdef|{{{ER|}}}|[[Image:Engineer's_Ribbon.jpg|90px|Engineer]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{FM|}}}|[[Image:Field_Medicine_Merit.jpg|90px|Field Medicine]]}} | |width="70px" height="20px"|{{ifdef|{{{FM|}}}|[[Image:Field_Medicine_Merit.jpg|90px|Field Medicine]]}} | ||
|- | |||
|width="70px" height="20px"|{{ifdef|{{{SA|}}}|[[Image:Scientific_Achievement_Ribbon.jpg|90px|Science]]}} | |width="70px" height="20px"|{{ifdef|{{{SA|}}}|[[Image:Scientific_Achievement_Ribbon.jpg|90px|Science]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{RSR|}}}|[[Image:Resident_Surgeon_Ribbon.jpg|90px|Resident Surgeon]]}} | |width="70px" height="20px"|{{ifdef|{{{RSR|}}}|[[Image:Resident_Surgeon_Ribbon.jpg|90px|Resident Surgeon]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{AR|}}}|[[Image:Acquisition_Ribbon.jpg|90px|Mallrat]]}} | |width="70px" height="20px"|{{ifdef|{{{AR|}}}|[[Image:Acquisition_Ribbon.jpg|90px|Mallrat]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{RSM|}}}|[[Image:Reconnissance Specialist Merit.jpg|90px|Recon]]}} | |width="70px" height="20px"|{{ifdef|{{{RSM|}}}|[[Image:Reconnissance Specialist Merit.jpg|90px|Recon]]}} | ||
|- | |- | ||
|width="70px" height="20px"|{{ifdef|{{{RANK|X}}}|[[Image:MFURank{{{RANK|1}}}.png|90px|MFU - Rank {{{RANK|1}}}]]}} | |||
|width="70px" height="20px"|{{ifdef|{{{YEAR|}}}|[[Image:DEM_{{{YEAR|}}}_year_service.jpg|90px|{{{YEAR|}}} Years Service]]}} | |width="70px" height="20px"|{{ifdef|{{{YEAR|}}}|[[Image:DEM_{{{YEAR|}}}_year_service.jpg|90px|{{{YEAR|}}} Years Service]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{PH|}}}|[[Image:DEM purple heart ribbon.jpg|90px|Purple Heart]]}} | |width="70px" height="20px"|{{ifdef|{{{PH|}}}|[[Image:DEM purple heart ribbon.jpg|90px|Purple Heart]]}} | ||
|width="70px" height="20px"|{{ifdef|{{{VR|}}}|[[Image:DEM Valor ribbon.jpg|90px|Valor]]}} | |width="70px" height="20px"|{{ifdef|{{{VR|}}}|[[Image:DEM Valor ribbon.jpg|90px|Valor]]}} | ||
|} | |||
|- | |- | ||
| valign="top"| | | valign="top"| | ||
{| style="background-color:#FfFacd" width="100%" | {| style="background-color:#FfFacd" width="100%" | ||
Line 40: | Line 39: | ||
|colspan=3 align="center" width="70px" height="20px"|{{ifdef|{{{AG|}}}|[[Image:Academy grad.jpg|90px|Academy Graduation Ribbon]]}} | |colspan=3 align="center" width="70px" height="20px"|{{ifdef|{{{AG|}}}|[[Image:Academy grad.jpg|90px|Academy Graduation Ribbon]]}} | ||
|} | |} | ||
|} | |}</includeonly><noinclude> | ||
{{MFU Ribbons|Name=YourName|Rank=1|WM=X|HH=X|FR=X|SR=X|CS=X|RO=X|ER=X|FM=X|SA=X|RSR=X|AR=X|RSM=X|PH=X|VR=X|YEAR=1}} | |||
==Usage== | |||
Place | Place | ||
<nowiki>{{MFU Ribbons}}</nowiki> | |||
on whatever wikipage you want to display the ribbon and medals earned from the [[Malton Forensics Unit|MFU]]. | |||
<nowiki>{{ | The following options are available: | ||
<nowiki>{{MFU Ribbons|Name=</nowiki>''YourName''<nowiki>|Rank= | |||
<nowiki> | </nowiki>{{LiamTemplateSandbox|NAME=???|RANK=?|UNIT=0 |BADGE=?|DIS=?|WM=X|HH=X|FR=X|SR=X|CS=X|RO=X|ER=X|FM=X|SA=X|RSR=X|AR=X|RSM=X|PH=X|VR=X|YEAR=?|STATUS=?|CSR=X|OYS=X|OV=X|MS=X|RR=X|OoM=X|AG=X}}</nowiki> | ||
In order to show a ribbon, you must paste the appropriate code from the available options found above into the template; for explanations of specific ribbons, see below. The italic text should be replaced appropriately. For example, be sure to include your user or character name for the '''Name''' variable, otherwise it will be set to the page name. If you have been in the DEM for more than one year, include the '''Year''' variable with the appropriate number. | |||
:'''What is " | :'''What is "Rank"?''': This variable refers to your current rank in MFU. Ranks range from 1 to 6, with the default being 1 (Lab Technician). | ||
::[[Image:MFURank1.png]] - Rank 1: '''Lab Technician''' | |||
::[[Image:MFURank2.png]] - Rank 2: '''Toxicologist''' | |||
::[[Image:MFURank3.png]] - Rank 3: '''Pathologist''' | |||
::[[Image:MFURank4.png]] - Rank 4: '''Coroner''' | |||
::[[Image:MFURank5.png]] - Rank 5: '''Head Coroner''' | |||
::[[Image:MFURank6.png]] - Rank 6: '''Chief of Forensics''' | |||
:'''What is "WM"?''': This variable refers to the "Weapons Master" ribbon = Advanced Pistol/Shotgun Skill | :'''What is "WM"?''': This variable refers to the "Weapons Master" ribbon = Advanced Pistol/Shotgun Skill | ||
Line 114: | Line 109: | ||
:'''What is "YEAR"?''': This variable refers to the "DEM years of service" ribbon | :'''What is "YEAR"?''': This variable refers to the "DEM years of service" ribbon | ||
::[[Image:DEM 1 year service.jpg]] [[Image:DEM 2 year service.jpg]] [[Image:DEM 3 year service | ::[[Image:DEM 1 year service.jpg]]-[[Image:DEM 2 year service.jpg]]-[[Image:DEM 3 year service.jpg]] | ||
Here are some examples:<br> | Here are some examples:<br> | ||
: | :Newb Reviver has just joined the MFU: <nowiki>{{MFU Ribbons|Name=Newb Reviver|Rank=1}}</nowiki> or <nowiki>{{MFU Ribbons}}</nowiki> (to use the default name and starting rank) | ||
:Needles McGee has been promoted to MFU Rank 2 (Toxicologist), and also earned both the "Field Medicine" and "Scientific Achievement" ribbons:<br> | |||
:<nowiki>{{MFU Ribbons|Name=Needles McGee|Rank=2|FM=X|SA=X}}</nowiki> | |||
:Dr Feelgood has reached the rank of Chief of Forensics, served three years, and earned every ribbon available:<br> | |||
:<nowiki>{{MFU Ribbons|Name=Dr Feelgood|Rank=6|WM=X|HH=X|FR=X|SR=X|CS=X|RO=X|ER=X|FM=X|SA=X|RSR=X|AR=X|RSM=X|PH=X|VR=X|YEAR=3}}</nowiki> | |||
</ |
Revision as of 09:17, 29 March 2011
This is a coding mess. I will work on it later. My brain hurts now.
MFU: YourName's Ribbons | ||||||||||||||||
|
Usage
Place
{{MFU Ribbons}}
on whatever wikipage you want to display the ribbon and medals earned from the MFU.
The following options are available:
{{MFU Ribbons|Name=YourName|Rank= ===This is a coding mess. I will work on it later. My brain hurts now.===
MCDU: LiamTemplateSandbox's Ribbons | ||||||||||||||||
| ||||||||||||||||
|
</nowiki>
In order to show a ribbon, you must paste the appropriate code from the available options found above into the template; for explanations of specific ribbons, see below. The italic text should be replaced appropriately. For example, be sure to include your user or character name for the Name variable, otherwise it will be set to the page name. If you have been in the DEM for more than one year, include the Year variable with the appropriate number.
- What is "Rank"?: This variable refers to your current rank in MFU. Ranks range from 1 to 6, with the default being 1 (Lab Technician).
- What is "PH"?: This variable refers to the "Purple Heart" ribbon
-
- The purple heart is a special award, given in recognition of acts of self-sacrifice with the intent to save a fellow survivor. Where others would have fled to save themselves, this person stayed to save others. The Purple Heart can be awarded on recommendation of the proposed recipient's CO of suburb command rank or above and is handed over to that recipient personally by the head officer of the appropriate branch.
-
- What is "VR"?: This variable refers to the "Valor Ribbon"
-
- The Valor Ribbon is the highest award given by the DEM Command and is presented only in cases where the recipient proved himself to go above and beyond his line of duty and overcome overwhelming odds by extreme resolve, intelligence and team spirit. The Valor Ribbon can be awarded on recommendation of the proposed recipient's CO of suburb command rank or above and is handed over to that recipient personally by the head officer of the appropriate branch.
-
Here are some examples:
- Newb Reviver has just joined the MFU: {{MFU Ribbons|Name=Newb Reviver|Rank=1}} or {{MFU Ribbons}} (to use the default name and starting rank)
- Needles McGee has been promoted to MFU Rank 2 (Toxicologist), and also earned both the "Field Medicine" and "Scientific Achievement" ribbons:
- {{MFU Ribbons|Name=Needles McGee|Rank=2|FM=X|SA=X}}
- Dr Feelgood has reached the rank of Chief of Forensics, served three years, and earned every ribbon available:
- {{MFU Ribbons|Name=Dr Feelgood|Rank=6|WM=X|HH=X|FR=X|SR=X|CS=X|RO=X|ER=X|FM=X|SA=X|RSR=X|AR=X|RSM=X|PH=X|VR=X|YEAR=3}}