Template:Infobox/doc: Difference between revisions

no edit summary
ipoly>YoshiAsk
(Created page)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1:
Welcome to theGMC Infobox documentation. (Based on IPoly's Infobox)
__NOTOC__
 
Use the infobox by inserting the following to your page:
When creating an Infobox, always format the wikitext as follows:
<div class="toccolours mw-collapsible mw-collapsed">
Syntax
Infobox wikitext
<div class="mw-collapsible-content"><pre>
{{infobox
Line 9:
| BoxTitle = ''[Page Title]''
| image = File:[Image]
| imagewidth = 250250px
| caption = [Caption]
| Row1Title = [Row 1 Title]
Line 34:
</pre></div>
</div>
This allows programs that don't use the MediaWiki API to read Infobox contents.
 
==Notes==
* TheNot putting any value for "BackColor" attributewould canmake beyour omitted.infobox Ituse willthe default to IPoly greencolor.
* "imagewidth" should usually be leftkept at 250px, but can be changed if necessary.
* You cannot use more than ten rows.
* Up to ten rows only.
* "imagewidth" should usually be left at 250px, but can be changed if necessary.
 
==Example==
<pre>
{{infobox
| BackColor =
| BoxTitle = ''Nylius Avidius''
| image = File:Nyl2020.jpg
| imagewidth = 250px
| caption = Nyl wearing the Aurean Republic officer uniform, 2020
| Row1Title = Aliases
| Row1Info = Mevarus, Gabrien, Orbitus
| Row2Title = Militaries/orgs founded
| Row2Info = Marseille, Rothstein Corp., Republic (towering), Foundry, etc.
| Row3Title = Join date
| Row3Info = 2013
| Row4Title = Current affiliations
| Row4Info = [[Aurea]], [[Graal Historical Society]], [[Graal Military Wiki|The Wiki Project]], The Royal Institute
}}
</pre>
{{infobox
| BackColor =
| BoxTitle = ''Nylius Avidius''
| image = File:Nyl2020.jpg
| imagewidth = 250px
| caption = Nyl wearing the Aurean Republic officer uniform, 2020
| Row1Title = Aliases
| Row1Info = Mevarus, Gabrien, Orbitus
| Row2Title = Militaries/orgs founded
| Row2Info = Marseille, Rothstein Corp., Republic (towering), Foundry, etc.
| Row3Title = Join date
| Row3Info = 2013
| Row4Title = Current affiliations
| Row4Info = [[Aurea]], [[Graal Historical Society]], [[Graal Military Wiki|The Wiki Project]], The Royal Institute
}}
462

edits