Template:LiamTemplateSandbox: Difference between revisions
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" | {| style="border:solid #ff8040 3px; width:400px; -moz-border-radius:6px; background-color:#FfFacd" | ||
| rowspan=4 | <div style="position: relative">{{ifdef|{{{ | | rowspan=4 | <div style="position: relative">{{ifdef|{{{UNIT|X}}}|[[Image:{{{UNIT|0}}}|MPD - {{switch|{{{UNIT|0}}}|case: 0=MCDUlogo.png|case: 1=EyeofRa.png|case: 2=Blackk.jpg|case: 3=Hellhounds.jpg|case: 4=Shadow.jpg|case: 5=Machavatarpo2.PNG|case: 6=Coven.jpg|case: 7=Legion.gif|case: 8=Legion.gif}}]]}} <div style="position:absolute; left:15px; right:0; top:140px; width:100px; text-align:center; font-family:Bookman Old Style,Georgia,Garamond; font-variant:small-caps; font-size:15pt; font-weight:bolder; color:#E6E6FA; overflow:visible; line-height: normal; background:transparent">{{ifdef|{{{DIS|X}}}|{{{DIS| }}}}} {{ifdef|{{{BADGE|X}}}|{{{BADGE| }}}}}</div></div>|| style="background:#FFFACD; color:#4169E1; font-size: 130%; font-family: Courier New" align="center" width="100%"| '''{{switch|{{{RANK|0}}}|case: 0=Cdt|case: 1=Cons|case: 2=Det|case: 3=Sgt|case: 4=Ins|case: 5=Chief|case: 6=Supt|case: 7=Dep Comm|case: 8=Comm}} {{{NAME|{{PAGENAME}}}}} ([[MPD]])''' | ||
|- | |- | ||
| valign="top"| | | valign="top"| | ||
Line 26: | Line 26: | ||
|- | |- | ||
|colspan=3 align="center"|<span style="font-variant:small-caps;font-size:larger;vertical-align:middle;font-family:Georgia,Serif">'''{{{STATUS|Active}}}'''</span> | |colspan=3 align="center"|<span style="font-variant:small-caps;font-size:larger;vertical-align:middle;font-family:Georgia,Serif">'''{{{STATUS|Active}}}'''</span> | ||
|- | | <div style="position: relative">{{ifdef|{{{RANK|X}}}|[[Image:{{{RANK|0}}}.png|MPD - {{switch|{{{RANK|0}}}|case: 0=Cadet|case: 1=PFC|case: 2=Lance Corporal|case: 3=Corporal|case: 4=Sergeant|case: 5=Chief Inspector|case: 6=Superintendent|case: 7=Deputy Commissioner|case: 8=Police Commissioner}}]]}} <div style="position:absolute; left:15px; right:0; top:140px; width:100px; text-align:center; font-family:Bookman Old Style,Georgia,Garamond; font-variant:small-caps; font-size:15pt; font-weight:bolder; color:#E6E6FA; overflow:visible; line-height: normal; background:transparent"> | ||
| | | | ||
| valign="top"| | | valign="top"| |
Revision as of 03:02, 29 March 2011
This is a coding mess. I will work on it later. My brain hurts now.
Cdt LiamTemplateSandbox (MPD) | ||||||||||||||||||||||||||||||
|
Usage:
Place
{{LiamTemplateSandbox|NAME=???|RANK=?|BADGE=?|DIS=?}} (Minimally) or
{{{{LiamTemplateSandbox|NAME=???|RANK=?|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}} (Extended - See Notes!)
on whatever wikipage you want to display the ribbon & medals earned from MPD service. You can your user or character's name for the NAME variable, but the default is the page name (i.e., if added to the User:Marcusfilby wikipage, then the badge name will be set to MarcusFilby). The example on the first line will just display name, rank, badge number and district. The extended version will display any earned ribbons but requires some editing: you must delete any entry that should not appear (such as PH=X| or RSM=X|). See more examples below. Take notice - variable names are case sensitive. Rank=2 does nothing, RANK=3 will make you an Inspector.
- What is "RANK"?: This variable refers to your current rank in MPD. Ranks range from 0 to 8, with the default being 0 (Cadet).
- What is "BADGE"?: This variable should be equal to your MPD badge number.
- What is "DIS"?: This variable should be your division (SE, SW, NE, NW) or district (SE-4, NE-2, NW-4). Can be left blank for those with city-wide offices.
- 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.
-
- What is "STATUS"?: This variable is used to indicate retired or separated members. Defaults to 'Active' but can be set to any value of your choosing ('Retired', etc).
Here are some examples:
- Constable Jones (Badge #666) has just graduated academy and waits for his assignment: {{MPDRibbons|NAME=Jones|BADGE=666|RANK=1}} looks like:
Cons Jones (MPD) | ||||||||||||||||||
|
- Apletizer has been promoted to MPD Rank 4 (Inspector) in SE4, and also earned both the "Field Medicine" and "Scientific Achievement" ribbons: {{MPDRibbons|NAME=Apletizer|DIS=SE4|RANK=4|FM=Y|SA=Y}} looks like:
Ins Apletizer (MPD) | ||||||||||||||||||
|
- CheckeredOne (Badge #471) has reached the rank of Superintendant of the SE Division, served three years, and earned every ribbon available before retiring: {{LiamTemplateSandbox|NAME=CheckeredOne|BADGE=471|DIS=SE|RANK=6|WM=Y|HH=Y|FR=Y|SR=Y|CS=Y|RO=Y|ER=Y|FM=Y|SA=Y|RSR=Y|AR=Y|RSM=Y|PH=Y|VR=Y|YEAR=3|STATUS=Retired}} looks like:
This is a coding mess. I will work on it later. My brain hurts now.
MPD - MCDUlogo.png SE 471 |
Supt CheckeredOne (MPD) | |||||||||||||||||||||||||||||
|
Of course, we can't stop you from putting ribbons on your chest that you don't deserve, but that's a good way to earn yourself a beat in Ridleybank.
Elements of this template shamelessly ganked from {{MPDRibbons}}' by Marcusfilby' who shameless ganked from {{MFU Ribbons}} by Atticus Rex