Difference between revisions of "Template:Expansions"

From EVE University Wiki
Jump to: navigation, search
m (Add an id to make it possible to link to the expansion. Make the width fixed.)
m (Added distinction between Initial Release Date, and Last Update to match official Patch Notes documentation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div class="toccolours mw-collapsible mw-collapsed" id="{{{expansion_name|}}}" style="width: 600px; background: #5c5cbf; color: black">
 
<div class="toccolours mw-collapsible mw-collapsed" id="{{{expansion_name|}}}" style="width: 600px; background: #5c5cbf; color: black">
[[File:EVE online logo.png|60px|link=]]<big>'''{{{expansion_name}}}'''</big><br>
+
[[File:EVE online logo.png|60px|link=]] <big> ''' {{#if: {{{UniWiki|}}}
'''Release Date:''' {{{release_date}}}<br>
+
| {{#ifeq: {{lc: {{{UniWiki}}} }}
 +
  | yes
 +
  | [[{{{expansion_name}}}]]
 +
  | [[{{{UniWiki}}}|{{{expansion_name}}}]]
 +
  }}
 +
| {{{expansion_name}}}
 +
}} ''' </big><br>
 +
'''Initial Release Date:''' {{{release_date}}}<br>
 +
'''Last Update:''' {{{last_update}}}<br>
 
'''Site:''' {{{expansion_site}}}<br>
 
'''Site:''' {{{expansion_site}}}<br>
 
'''Patch notes:''' {{{patch_notes}}}<br>
 
'''Patch notes:''' {{{patch_notes}}}<br>
Line 7: Line 15:
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; border:none; background:#000033">
 
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; border:none; background:#000033">
 +
{{#if: {{{splash_screen|}}} | [[File:{{{splash_screen}}}|256px]]<br> }}
 
{{{features_list}}}
 
{{{features_list}}}
 
</pre>
 
</pre>

Latest revision as of 04:29, 20 January 2024

EVE online logo.png {{{expansion_name}}}
Initial Release Date: {{{release_date}}}
Last Update: {{{last_update}}}
Site: {{{expansion_site}}}
Patch notes: {{{patch_notes}}}
(Expand to see features)


{{{features_list}}}
Template documentation (for the above template, sometimes hidden or invisible)
Description
A template used to provide information about Expansions to EVE Online
The template automatically adds a link anchor to make it possible to link directly to the specific expansion, using the expansions name.
Syntax
{{Expansions |expansion_name= |UniWiki= |release_date= |last_update= |expansion_site= |patch_notes= |splash_screen= |features_list= }}
Parameters
expansion_name=
The name of the expansion. This is also used to create the anchor point to make it possible to link direct to the specific expansion.
UniWiki=
Either yes or <article name>, only to be used when the expansion has its own article on the wiki:
- yes - when the article name is identical to the expansion name.
- <article name> - when the article name differs from the expansion name.
The Odyssey expansion has an article on the wiki called Odyssey so use "UniWiki= yes".

However, the Kronos expansion could not use its name as an article name because there is already a ship with that name.
In this case the 'UniWiki' parameter should be identical to the expansion's article name Kronos (expansion), which gives "UniWiki= Kronos (expansion)".
release_date=
The initial release date of the expansion.
last_update=
The final patch date of the expansion.
expansion_site=
URL of the expansion's web page.
patch_notes=
URL of the expansion's patch notes.
splash_screen=
Optional screenshot of the expansion's splash screen.
features_list=
List of what is in the update.
Sample
No article
{{Expansions |expansion_name= Exodus |release_date= 17/11/2004 |expansion_site= None |patch_notes= https://www.eveonline.com/news/view/eve-online-exodus-1 |features_list= List of features. }}
gives ...

EVE online logo.png Exodus
Initial Release Date: 17/11/2004
Last Update: {{{last_update}}}
Site: None
Patch notes: https://www.eveonline.com/news/view/eve-online-exodus-1
(Expand to see features)


List of features.


Article name identical to the expansion name
{{Expansions |expansion_name= Odyssey |UniWiki= yes |release_date= 04/07/2013 |expansion_site= None |patch_notes= https://community.eveonline.com/news/patch-notes/patch-notes-for |features_list= List of features. }}
gives ...

EVE online logo.png Odyssey
Initial Release Date: 04/07/2013
Last Update: {{{last_update}}}
Site: None
Patch notes: https://community.eveonline.com/news/patch-notes/patch-notes-for
(Expand to see features)


List of features.


Article name different from the expansion name
{{Expansions |expansion_name= Kronos |UniWiki= Kronos (expansion) |release_date= 16/07/2014 |expansion_site= https://community.eveonline.com/releases/kronos/ |patch_notes= https://www.eveonline.com/news/view/patch-notes-for-kronos |features_list= List of features. }}
gives ...

EVE online logo.png Kronos
Initial Release Date: 16/07/2014
Last Update: {{{last_update}}}
Site: https://community.eveonline.com/releases/kronos/
Patch notes: https://www.eveonline.com/news/view/patch-notes-for-kronos
(Expand to see features)


List of features.
Visit Template:Expansions/doc to edit this text! (How does this work?) (Refresh this text - why?)