Template:Yearnav: Difference between revisions
From Halopedia, the Halo wiki
m (Might be useful not to have it in bold so it doesn't compete for attention with the year links and such. Let's see how this looks.) |
m (This might also help...) |
||
Line 3: | Line 3: | ||
{{#if:{{{image|}}}|<div style="border-top:1px solid #aaaaaa;">[[{{{image|}}}|300px]]</div>}} | {{#if:{{{image|}}}|<div style="border-top:1px solid #aaaaaa;">[[{{{image|}}}|300px]]</div>}} | ||
<center>{{#if:{{{caption|}}}|{{{caption|}}}}}</center> | <center>{{#if:{{{caption|}}}|{{{caption|}}}}}</center> | ||
----- | |||
<center>{{#if:{{{century|}}}|'''[[:Category:{{{century|}}}|{{{century|}}}]]'''<includeonly>[[Category:{{{century|}}}]]</includeonly>}}</center> | <center>{{#if:{{{century|}}}|'''[[:Category:{{{century|}}}|{{{century|}}}]]'''<includeonly>[[Category:{{{century|}}}]]</includeonly>}}</center> | ||
{{#if:{{{previous1|}}}|'''Previous: [[{{{previous1|}}}]]'''}} {{#if:{{{previous2|}}}|• '''[[{{{previous2|}}}]]'''}} | {{#if:{{{previous1|}}}|'''Previous: [[{{{previous1|}}}]]'''}} {{#if:{{{previous2|}}}|• '''[[{{{previous2|}}}]]'''}} |
Revision as of 08:00, February 21, 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 }}