Template:Sidebar KIA: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| class="infobox" style="border-radius: 0px 0px 20px 20px; margin: 0 0 1em 1em;" width=240 align="right"
<includeonly>{| class="infobox" style="border-radius: 0px 0px 20px 20px; margin: 0 0 1em 1em;" width=240 align="right"
!colspan=100% style="background:#C0C0C0"|In Memoriam
!colspan=100% style="background:#f0f0f0"|In Memoriam
|-
|-
!colspan=100% style="background:black"|{{Portrait|{{{IMAGE|}}}}}<br>{{Pips2Collar|{{{RANK|}}}|{{{COLOR|}}}|{{{PIPSTYLE|}}}}}
!colspan=100% style="background:black"|{{Portrait|{{{IMAGE|}}}}}<br>{{Pips2Collar|{{{RANK|}}}|{{{COLOR|}}}|{{{PIPSTYLE|}}}}}
|-
|-
!colspan=100% style="background:#C0C0C0"|{{{NAME|}}}
!colspan=100% style="background:#f0f0f0"|{{{NAME|}}}
|-
|-
| colspan=100% style="font-size: 90%" |
| colspan=100% style="font-size: 90%" |
Line 60: Line 60:
}}
}}
===Usage instructions===
===Usage instructions===
This sidebar template is a modification of the [[Template:Sidebar]] for those characters [[:Category:Deceased characters|killed in action or otherwise deceased]]. Along with the date of the character's death, this sidebar will automatically calculate the character's age at the time he or she died and display a blue Federation gold star [[wp:service flag|service banner]] in the sidebar.
This sidebar template is a modification of the [[Template:Sidebar]] for those characters [[:Category:Deceased characters|killed in action or otherwise deceased]]. Along with the date of the character's death, this sidebar will automatically calculate the character's age at the time he or she died.


'''All you need to do is add a KIA YEAR (the year the character died). You can also add a KIA MONTH and KIA DATE. Otherwise, it will assume the character was KIA on January 1 of the KIA YEAR.'''
'''All you need to do is add a KIA YEAR (the year the character died). You can also add a KIA MONTH and KIA DATE. Otherwise, it will assume the character was KIA on January 1 of the KIA YEAR.'''