Template:ErasNavigation: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|- | |- | ||
|<table border="0" align="center"><tr> | |<table border="0" align="center"><tr> | ||
<!-- PREVIOUS ERA --> | |||
<td><center> | <td><center> | ||
{{EraData|nova|name|{{ #expr: {{{1}}}-1 }}}} | {{EraData|nova|name|{{ #expr: {{{1}}}-1 }}}} | ||
[[File:{{#ifeq: {{{1}}} | 0 | transparentblank | Era{{ #expr: {{{1}}}-1}}}} | [[File:{{#ifeq: {{{1}}} | 0 | transparentblank | Era{{ #expr: {{{1}}}-1}}_1.png}}|center|frameless|40px|link={{EraData|nova|link|{{ #expr: {{{1}}}-1 }}}}]] | ||
</center></td> | </center></td> | ||
<td>{{#ifeq: {{{1}}} | 0 | | '''⇦''' }} | |||
</td> | <td>{{#ifeq: {{{1}}} | 0 | | '''⇦''' }}</td> | ||
<!-- CURRENT ERA --> | |||
<td><center> | <td><center> | ||
{{EraData|nova|date|{{{1}}}}}<br />{{EraData|nova|years|{{{1}}}}} | {{EraData|nova|date|{{{1}}}}}<br /> | ||
[[File:Era{{ #expr: {{{1}}}}}.png|center|frameless|70px]] | {{EraData|nova|years|{{{1}}}}} | ||
[[File:Era{{ #expr: {{{1}}}}}_1.png|center|frameless|70px]] | |||
'''{{EraData|nova|name|{{{1}}}}}''' | '''{{EraData|nova|name|{{{1}}}}}''' | ||
</center></td> | </center></td> | ||
<td>{{#ifexpr: 19 < {{{1}}} ||'''⇨'''}}</td> | |||
<td>{{#ifexpr: 19 < {{{1}}} | | '''⇨'''}}</td> | |||
<!-- NEXT ERA --> | |||
<td><center> | <td><center> | ||
{{#ifexpr: 19 < {{{1}}} | | {{EraData|nova|name|{{ #expr: {{{1}}}+1 }}}} }} | {{#ifexpr: 19 < {{{1}}} | | {{EraData|nova|name|{{ #expr: {{{1}}}+1 }}}} }} | ||
[[File:{{#ifexpr: 19 < {{{1}}} | transparentblank | Era{{ #expr: {{{1}}}+1}}}} | [[File:{{#ifexpr: 19 < {{{1}}} | transparentblank | Era{{ #expr: {{{1}}}+1}}_1.png}}|center|frameless|40px|link={{EraData|nova|link|{{ #expr: {{{1}}}+1 }}}}]] | ||
</center></td> | </center></td> | ||
</tr></table> | </tr></table> | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 27: | Line 37: | ||
This is a template for eras in Terra Nova. | This is a template for eras in Terra Nova. | ||
== How add an era on this template == | |||
Go on the template editor and use the ''Find tool'' (<code>Ctrl+F</code>) to search '''''<code>Q=</code>''''' . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). '''DO NOT remove the ''Q'' lines''' in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required. | |||
Then, search for '''''<code>transparentblank</code>''''' and add 1 to the number right before that word. | |||
The era icons have to be 400x400 px and match the name of ''EraX.png'', where X is the number matching the era number. (example: ''Era1.png'') | |||
'''<u>NOTE: All eras have to be approved by the Wiki staff. Join our Discord server [https://discord.gg/8u75y6D here].</u>''' | |||
</noinclude> | |||
== How add an era on this template == | == How add an era on this template == | ||
Revision as of 10:37, 17 February 2026
|
How add an era on this template
Go on the template editor and use the Find tool (Ctrl+F) to search Q= . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). DO NOT remove the Q lines in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required.
Then, search for transparentblank and add 1 to the number right before that word.
The era icons have to be 400x400 px and match the name of EraX.png, where X is the number matching the era number. (example: Era1.png)
NOTE: All eras have to be approved by the Wiki staff. Join our Discord server here. </noinclude>
This is a template for eras in Terra Nova.
How add an era on this template
Go on the template editor and use the Find tool (Ctrl+F) to search Q= . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). DO NOT remove the Q lines in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required.
Then, search for transparentblank and add 1 to the number right before that word.
The era icons have to be 400x400 px and match the name of EraX.png, where X is the number matching the era number. (example: Era1.png)
NOTE: All eras have to be approved by the Wiki staff. Join our Discord server here.
How add an era on this template
Go on the template editor and use the Find tool (Ctrl+F) to search Q= . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). DO NOT remove the Q lines in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required.
Then, search for transparentblank and add 1 to the number right before that word.
The era icons have to be 400x400 px and match the name of EraX.png, where X is the number matching the era number. (example: Era1.png)
NOTE: All eras have to be approved by the Wiki staff. Join our Discord server here.