Template:Yearnav: Difference between revisions
From Halopedia, the Halo wiki
(No idea why the bg was set to white...) |
(I need infobox class for mobile. this should add the right color) |
||
Line 1: | Line 1: | ||
<div class="infoboxheading" style="width:300px; border:1px solid #999; border-radius:.5em 0 0 .5em; padding:2px 6px 6px 6px; float:right; margin:0 0 10px 10px;> | <div class="infobox infoboxheading" style="width:300px; border:1px solid #999; border-radius:.5em 0 0 .5em; padding:2px 6px 6px 6px; float:right; margin:0 0 10px 10px;> | ||
<center>'''{{PAGENAME}}'''</center> | <center>'''{{PAGENAME}}'''</center> | ||
{{#if:{{{image|}}}|<div style="border-top:1px solid #aaaaaa;text-align:center">[[{{{image|}}}|300px]]</div>}} | {{#if:{{{image|}}}|<div style="border-top:1px solid #aaaaaa;text-align:center">[[{{{image|}}}|300px]]</div>}} |
Revision as of 16:04, March 4, 2019
Use
|century=
- Specifying this will categorize the article. For a year like 97,445 BCE, use|century=BCE
.|image=
- This field is optional and does not need to be filled in.|caption=
- Use this field for a description if an image is used.
Follow the below example for all articles:
- For 2552
{{Yearnav |image=File:Example.png |caption=Lorem ipsum... |century=26th century |previous1=2550 |previous2=2551 |next1=2553 |next2=2554 }}