This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Template:InfoBox"

From BZFlagWiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This generates a nice looking info box with a header.  For example, this:
+
<includeonly><div style="margin: 1em 1em 0 0; border: solid 1px #AAAAAA; background-color: #8DA7D6; padding: 0.25em; font-weight: bold;">{{{1}}}</div>
 
+
<div style="margin: 0 1em 0 0; border: solid 1px #AAAAAA; border-top-width: 0; padding: 0.25em;">{{{2}}}</div></includeonly>
'''<nowiki>{{InfoBox|Note|This feature is only available in BZFlag 2.0.6 and higher}}</nowiki>'''
+
<noinclude>This generates a nice looking info box with a header.  For example, this:<br>
 
+
'''<nowiki>{{InfoBox|Note|This feature is only available in BZFlag 2.0.6 and higher}}</nowiki>'''<br>
would generate the following:
+
would generate the following:<br>
{{InfoBox|Note|This feature is only available in BZFlag 2.0.6 and higher}}</noinclude>
+
{{InfoBox|Note|This feature is only available in BZFlag 2.0.6 and higher}}
<includeonly><div style="margin: 1em 1em 0 0; border: solid 1px #AAAAAA; background-color: #8DA7D6; padding: 0.25em;">{{{1}}}</div>
+
[[Category:Style and Navigation|{{PAGENAME}}]]</noinclude>
<div style="margin: 0 1em 1em 0; border: solid 1px #AAAAAA; border-top-width: 0; padding: 0.25em;">{{{2}}}</div></includeonly>
+
<noinclude>[[Category:Style and Navigation|{{PAGENAME}}]]</noinclude>
+

Latest revision as of 22:28, 10 August 2007

This generates a nice looking info box with a header. For example, this:
{{InfoBox|Note|This feature is only available in BZFlag 2.0.6 and higher}}
would generate the following:

Note
This feature is only available in BZFlag 2.0.6 and higher