Template:PersonalHistoryHeader: Difference between revisions

updating to fix an annoying obscure bug.
(moving new optional code to main)
(updating to fix an annoying obscure bug.)
Line 3: Line 3:
{| border='0' cellspacing='0'
{| border='0' cellspacing='0'
|-
|-
! style="background:{{#if: {{{2|}}}|{{{2|}}}|#882211}}; width:100px;" |'''Insignia'''
! style="background:{{#if: {{{2|}}}|<nowiki>{{{2|}}}</nowiki>|<nowiki>#882211</nowiki>}}; width:100px;" |'''Insignia'''
! style="background:{{#if: {{{2|}}}|{{{2|}}}|&#35;882211}}; width:200px;" |'''Rank'''
! style="background:{{#if: {{{2|}}}|<nowiki>{{{2|}}}</nowiki>|<nowiki>#882211</nowiki>}}; width:200px;" |'''Rank'''
! style="background:{{#if: {{{2|}}}|{{{2|}}}|&#35;882211}}; width:150px;" |'''From'''
! style="background:{{#if: {{{2|}}}|<nowiki>{{{2|}}}</nowiki>|<nowiki>#882211</nowiki>}}; width:150px;" |'''From'''
! style="background:{{#if: {{{2|}}}|{{{2|}}}|&#35;882211}}; width:150px;" |'''To'''
! style="background:{{#if: {{{2|}}}|<nowiki>{{{2|}}}</nowiki>|<nowiki>882211</nowiki>}}; width:150px;" |'''To'''
! style="background:{{#if: {{{2|}}}|{{{2|}}}|&#35;882211}}; width:250px;" |'''Position'''</includeonly><noinclude>This template creates a non rounded header for a Personal History in a Personal History Template.Syntax: <nowiki>{{PersonalHistoryHeader|text in header|yellow}}} <- the last is optional</nowiki></noinclude>
! style="background:{{#if: {{{2|}}}|<nowiki>{{{2|}}}</nowiki>|<nowiki>882211</nowiki>}}; width:250px;"</includeonly><noinclude>This template creates a non rounded header for a Personal History in a Personal History Template.Syntax: <nowiki>{{PersonalHistoryHeader|text in header|yellow}}} <- the last is optional</nowiki></noinclude>
7,850

edits