Template:Featurebox: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
mNo edit summary
Derik (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div div id="{{{id|}}}" class="featurebox" style="border-color:{{{color|gray}}};"><p class="featurebox-heading" style="background-color:{{{color|gray}}};">{{#id:{{{view|}}}|<span style="float:rightfont-size:small;">[[{{{view}}}|v]]</span>|}}{{{title|{{{1|Title}}}}}}</p>
<includeonly><div div id="{{{id|}}}" class="featurebox" style="{{#if:{{{table|}}}|display:table;|}}border-color:{{{color|gray}}};"><p class="featurebox-heading" style="background-color:{{{color|gray}}};">{{#if:{{{view|}}}|<span style="float:right;font-size:small;font-weight:500;">[[{{{view}}}|v]]</span>|}}{{{title|{{{1|Title}}}}}}</p>
{{{content|{{{2|Content}}}}}}
{{{content|{{{2|Content}}}}}}
</div></includeonly><noinclude>{{doc}}
</div></includeonly><noinclude>{{doc}}

Latest revision as of 02:02, 20 March 2009

(Transcluded documentation: view)

Title

Content

{{Featurebox
|title
|content= Box contents (can also be the second term, but "content=" will avoid many common template glitches.)
|color=green - String of #FFFFFF (Optional, gray by default)
|id= id assinged to the unit (optional)
|view= name of page to "view this entry" (optional)
|table=true - Behave like a TABLE instead of a DIV
}}

title

content