Jump to content

Template:Infobox: Difference between revisions

From WikiJournal
mNo edit summary
Tag: 2017 source edit
 
mNo edit summary
Tag: 2017 source edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Share article}}
<includeonly><templatestyles src="Template:Infobox/mainInfobox.css" />{{Share article}}
{| class="infobox_table"
<div class="infobox">
|-
{{#if:{{{title|}}}
| {{#if: {{{image|}}} | [[File:{{{image}}}|245px|frameless|right|{{{description|}}}]] }}
  | {{#if:{{{header color|}}}
|}</includeonly><noinclude>
    | <div class="infobox-header" style="background-color: {{{header color}}};">{{{title}}}</div>
{{doc}}
    | <div class="infobox-header">{{{title}}}</div>
  }}
}}
{{#if:{{{image|}}}
  | <div class="infobox-image">[[File:{{{image}}}|center|frameless]]</div>
  {{#if:{{{description|}}}
    | <div class="infobox-image-description"><small>{{{description}}}</small></div>
  }}
}}
<div class="infobox-body">
{{{parameters}}}
</div>
</div></includeonly><noinclude>
{{documentation}} <!-- Documentation for the template -->
__NOINDEX__
[[Category:Templates]]
[[Category:Templates]]
[[wj-ru:Шаблон:Infobox]]
[[wj-ru:Шаблон:Infobox]]
[[wj-de:Vorlage:Infobox]]
[[wj-es:Plantilla:Infobox]]
[[wj-fr:Modèle:Infobox]]
[[wj-it:Template:Infobox]]
</noinclude>
</noinclude>

Latest revision as of 14:36, 16 February 2025