Jump to content

Template:Infobox Sandbox: Difference between revisions

From Rolling Lounge Wiki
No edit summary
Tag: Reverted
Added autoheaders tag
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| bodyclass  = vcard
| autoheaders = yes
| aboveclass  = fn org
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}}
| title      = {{#ifeq:{{{embed|}}}|yes|<div style="font-weight:bold; text-align:center;">Building details</div>}}
| above      = {{{building_name|{{{hotel_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}
| subheader  = {{#if:{{{native_building_name|{{{native_name|}}}}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_building_name|{{{native_name}}}}}}</div>}}
| imagestyle = text-align: center
| captionstyle = text-align: center


| title     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| above     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} <!-- Not adding images is ok too -->
| image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}} <!-- Not adding images is ok too -->
| caption    = {{{caption|}}} <!-- Image caption -->
| caption    = {{{caption|}}} <!-- Image caption -->



Latest revision as of 16:49, 9 June 2025