Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
interwiki>Enetheru
m ahh, borked it, and fixed it.
 
m 1 revision imported
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><center>
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{|style="margin-top:15px; background:{{{color|rgba(200,200,255,0.5)}}}; border: 1px solid rgba(0,0,0,0.5); border-radius: 12px 12px 12px 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.5), inset 0 10px 8px rgba(255,255,255,0.3);" cellpadding="5"
{{documentation}}
| rowspan=2 | [[Image:{{{icon|172px-Symbol comment vote.svg.png}}}|{{{icon-size|48}}}px]]
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
! style="font-size:large" |{{{title|title}}}
</noinclude>
|-
| {{{body|body}}}
|}</center></includeonly><noinclude>
A template for displaying information in a coloured box with optional icon
 
'''Usage:'''
<pre>{{infobox}}</pre>
result:
{{infobox}}
 
 
'''Usage:'''
<pre>{{infobox|title=My Info Box|color=rgba(0,0,0,1)|icon=Springlobby 64.png|icon-size=48
|body=chuck content here}}</pre>
result:
{{infobox|title=My Info Box|color=rgba(0,0,0,1)|icon=Springlobby 64.png|icon-size=48
|body=chuck content here}}

Latest revision as of 18:16, 12 November 2025