Actions

Template

EKBG Panel: Difference between revisions

From EastKingdomWiki

(First try)
 
(Don't break the if statement with pipes.)
Line 10: Line 10:
| style="text-align:center; background: #F9F9F9;" | [[{{{brewer}}}]]
| style="text-align:center; background: #F9F9F9;" | [[{{{brewer}}}]]
|-
|-
{{#if:{{{photo}}}|
{{#if:{{{photo|}}}|  # Note that we use {{!}} instead of | below to avoid confusing the if statement.
! style="background: #32439B; color: #Ffffff;" | '''Photo'''
  ! style="background: #32439B; color: #Ffffff;"
|-
  {{!}} '''Photo'''
| style="text-align:center; background: #F9F9F9;" | {{{photo}}}<br><small>''{{{photocaption}}}''</small>
  {{!}}-
  {{!}} style="text-align:center; background: #F9F9F9;"
  {{!}} {{{photo}}}<br><small>''{{{photocaption}}}''</small>
}}
}}
|- style="text-align:center;"
|- style="text-align:center;"

Revision as of 23:44, 16 April 2018

below to avoid confusing the if statement.
Full Recipe Name
{{{recipe_name}}}
Brewer
[[{{{brewer}}}]]
style="background: #32439B; color: #Ffffff;" Photo
style="text-align:center; background: #F9F9F9;" {{{photo}}}
{{{photocaption}}}
Panel Information
Panel Location: {{{location}}}
Panel Date: {{{date}}}
Score: {{{score}}}
Beverage Information
Period: [[Category:{{{period}}}|{{{period}}}]]
Division: [[Category:{{{division}}}|{{{division}}}]]
Origin: [[Category:{{{origin}}}|{{{origin}}}]]

[[Category:{{{brewer}}} Brews]]