Template:Infobox/doc: Difference between revisions

From Graal Military Wiki
Content added Content deleted
mNo edit summary
No edit summary
 
Line 39: Line 39:
* "imagewidth" should be kept at 250px.
* "imagewidth" should be kept at 250px.
* Up to ten rows only.
* Up to ten rows only.

==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
}}

Latest revision as of 14:06, 29 February 2020

GMC Infobox documentation (Based on IPoly's Infobox)

Use the infobox by inserting the following to your page:

Syntax

{{infobox
| BackColor = [HEX or RGB Color]
| BoxTitle = ''[Page Title]''
| image = File:[Image]
| imagewidth = 250px
| caption = [Caption]
| Row1Title = [Row 1 Title]
| Row1Info = [Info]
| Row2Title = [Row 2 Title]
| Row2Info = [Info]
| Row3Title = [Row 3 Title]
| Row3Info = [Info]
| Row4Title = [Row 4 Title]
| Row4Info = [Info]
| Row5Title = [Row 5 Title]
| Row5Info = [Info]
| Row6Title = [Row 6 Title]
| Row6Info = [Info]
| Row7Title = [Row 7 Title]
| Row7Info = [Info]
| Row8Title = [Row 8 Title]
| Row8Info = [Info]
| Row9Title = [Row 9 Title]
| Row9Info = [Info]
| Row10Title = [Row 10 Title]
| Row10Info = [Info]
}}

Notes

  • Not putting any value for "BackColor" would make your infobox use the default color.
  • "imagewidth" should be kept at 250px.
  • Up to ten rows only.

Example

{{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
}}
Nylius Avidius

Nyl wearing the Aurean Republic officer uniform, 2020

Aliases

Mevarus, Gabrien, Orbitus

Militaries/orgs founded

Marseille, Rothstein Corp., Republic (towering), Foundry, etc.

Join date

2013

Current affiliations

Aurea, Graal Historical Society, The Wiki Project, The Royal Institute