Template:Infobox brand: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
(Create bare bones brand iBox - more fields will surely be required)
 
m (change invite code)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox


|bodyclass = hProduct
  |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>|{{PAGENAMEBASE}}</includeonly>}}
  |above = {{If empty|{{{name|}}}|{{BASEPAGENAME}}}}
  |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


  |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=300x300px|alt={{{imagealt|}}}}}
  |image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|150px}}|alt={{{imagealt|}}}]]}}
  |caption = {{{caption|}}}
  |caption = {{{caption|}}}


Line 16: Line 15:
  |data1 = {{{tagline|}}}
  |data1 = {{{tagline|}}}


|label2 = Total stations
|label2 = [[Patreon]] exclusive
  |data2 = {{{total|}}}
  |data2 = {{{patreon|}}}


|label3 = Current visits
|label3 = [[Discord]] channel
  |data3 = {{{current|}}}
  |data3 = {{#if:{{{discord|}}}|<span class="plainlinks"><code>[https://discord.gg/bSYHkpFBhU {{{discord|}}}]</code></span>}}


|label4 = First visit
|label4 = Total stations
  |data4 = {{{first|}}}
  |data4 = {{{total|}}}


|label5 = Most recent visit
|label5 = Current visits
  |data5 = {{{recent|}}}
  |data5 = {{{current|}}}


|label6 = Total journeys
|label6 = First visit
  |data6 = {{{journeys|}}}
  |data6 = {{{first|}}}


|label7 = Website
|label7 = Most recent visit
  |data7 = {{{website|}}}
  |data7 = {{{recent|}}}


|header8 = {{#if:{{{notes|}}}|Notes}}
|label8 = Total journeys
  |data9 = {{{notes|}}}
|data8 = {{{journeys|}}}
}}
 
|label9 = Website
|data9 = {{{website|}}}
 
|header10 = {{#if:{{{notes|}}}|Notes}}
  |data11 = {{{notes|}}}
 
|header12 = {{#if:{{{bradshaw|}}}|Bradshaw right now}}
|class13 = plainlist
|data13 = {{{bradshaw|}}}
 
}}<noinclude>
 
[[Category:Infobox templates]] [[Category:On Our Lines]]</noinclude>

Latest revision as of 13:07, 5 June 2022

Infobox brand