Template:Infobox emoji: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (Display inline prettier)
m (Link to correct template)
Line 4: Line 4:
  |bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
  |bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
  |labelstyle = {{#if:{{{label_width|}}}|width:{{{label_width}}};}}
  |labelstyle = {{#if:{{{label_width|}}}|width:{{{label_width}}};}}
  |headerstyle = color:{{Greater color contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
  |headerstyle = color:{{Greater colour contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};


  |above = {{If empty|{{{name|}}}<includeonly>|{{BASEPAGENAME}}</includeonly>}}
  |above = {{If empty|{{{name|}}}<includeonly>|{{BASEPAGENAME}}</includeonly>}}
  |abovestyle = color:{{Greater color contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
  |abovestyle = color:{{Greater colour contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
  |aboveclass = fn
  |aboveclass = fn



Revision as of 07:14, 21 January 2021