Template
Interface template⮥
Infobox
From Dogcraft Wiki
No edit summary |
mNo edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="phonefullscreen" style="float: right"> | {{#ifeq: {{NAMESPACE}} | {{ns:Template}} | {{#ifeq: {{#sub:{{ROOTPAGENAME}}|0|7}} | Infobox | [[Category:Infoboxes]] |}} |}}<templatestyles src="Module:Infobox/styles.css" /><div class="phonefullscreen noexcerpt" style="float: right"> | ||
{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!-- | {{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" aria-label="Infobox" style="text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!-- | ||
Caption | Caption | ||
-->{{#if:{{{title|}}}|<nowiki/> | -->{{#if:{{{title|}}}|<nowiki/> | ||
{{!}}+ | {{!}}+ aria-label="Infobox" {{!}} | ||
{{!}}colspan="2" class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; text-align: center; padding: 4px {{{titlestyle|}}}"{{!}} {{{title}}} }}<!-- | {{!}}colspan="2" class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; text-align: center; padding: 4px {{{titlestyle|}}}"{{!}} {{{title}}} }}<!-- | ||
Header | Header | ||
Line 16: | Line 16: | ||
-->{{#if:{{{image|}}}|<nowiki/> | -->{{#if:{{{image|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" class="phonefullscreen {{{imageclass|}}}" style="text-align:center | {{!}}colspan="2" class="phonefullscreen {{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"{{!}} {{{image}}} {{#if:{{{caption|}}}|<br> | ||
<span style="{{{captionstyle|}}}">{{{caption}}}</span> }} }}<!-- | <span style="{{{captionstyle|}}}">{{{caption}}}</span> }} }}<!-- | ||
Row 1 | Row 1 | ||
Line 828: | Line 828: | ||
{{!}}} | {{!}}} | ||
</div> | </div> | ||
<noinclude> | <noinclude>{{Interface template}} | ||
{{TemplateStyles|freeform=[[Module:Infobox/styles.css]]}} | |||
A template for creating an Infobox on an article. Use a template like [[Template:Infobox Settlement]], etc and fill in - not this one! | A template for creating an Infobox on an article. Use a template like [[Template:Infobox Settlement]], etc and fill in - not this one! | ||
</noinclude> | </noinclude> |
Latest revision as of 11:30, 4 December 2023
This template uses TemplateStyles: |
A template for creating an Infobox on an article. Use a template like Template:Infobox Settlement, etc and fill in - not this one!