Difference between revisions of "Template:Infobox Pro Bowl"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(Fix text alignment)
imported>Primefac
(prep for merger)
Line 4: Line 4:
 
| headerstyle = border-top: 1px solid #aaa; padding-top: 3px;
 
| headerstyle = border-top: 1px solid #aaa; padding-top: 3px;
  
| title      = {{If empty|{{{different_title|}}}|{{{year|}}} {{#switch:1
+
| title      = {{If empty|{{{different_title|}}}|{{{name|{{{year|}}}}}} {{#switch:1
  | {{#ifexpr:{{{year|}}} >= 1971|1}} = NFL Pro Bowl
+
  | {{#ifexpr:{{{name|{{{year|}}}}}} >= 1971|1}} = NFL Pro Bowl
  | {{#ifexpr:{{{year|}}} >= 1954|1}} = East–West Pro Bowl
+
  | {{#ifexpr:{{{name|{{{year|}}}}}} >= 1954|1}} = East–West Pro Bowl
  | {{#ifexpr:{{{year|}}} >= 1951|1}} = National–American Pro Bowl
+
  | {{#ifexpr:{{{name|{{{year|}}}}}} >= 1951|1}} = National–American Pro Bowl
  | {{#ifexpr:{{{year|}}} >= 1939|1}} = NFL All-star Game
+
  | {{#ifexpr:{{{name|{{{year|}}}}}} >= 1939|1}} = NFL All-star Game
 
  }}}}
 
  }}}}
  
Line 99: Line 99:
 
* {{#if:{{{different_previous|}}}
 
* {{#if:{{{different_previous|}}}
 
  | ← {{{different_previous}}}
 
  | ← {{{different_previous}}}
  | [[{{#expr:{{{year|}}}-1}} Pro Bowl|← {{#expr:{{{year|}}}-1}}]]
+
  | [[{{#expr:{{{name|{{{year|}}}}}}-1}} Pro Bowl|← {{#expr:{{{name|{{{year|}}}}}}-1}}]]
 
  }}
 
  }}
 
* [[Pro Bowl]]
 
* [[Pro Bowl]]
 
* {{#if:{{{different_next|}}}
 
* {{#if:{{{different_next|}}}
 
  | {{{different_next}}} →
 
  | {{{different_next}}} →
  | [[{{#expr:{{{year|}}}+1}} Pro Bowl|{{#expr:{{{year|}}}+1}} →]]
+
  | [[{{#expr:{{{name|{{{year|}}}}}}+1}} Pro Bowl|{{#expr:{{{name|{{{year|}}}}}}+1}} →]]
 
  }}
 
  }}
 
| belowclass  = hlist noprint
 
| belowclass  = hlist noprint

Revision as of 16:10, 4 May 2016

50px Template documentation[create]