Difference between revisions of "Template:Expansions/doc"

From EVE University Wiki
Jump to: navigation, search
(Reformat doc. Add info about the anchor.)
m (Update doc.)
Line 6: Line 6:
 
:{{code|<nowiki>{{Expansions
 
:{{code|<nowiki>{{Expansions
 
|expansion_name=  
 
|expansion_name=  
 +
|UniWiki=
 
|release_date=  
 
|release_date=  
 
|expansion_site=  
 
|expansion_site=  
Line 14: Line 15:
 
; Parameters
 
; 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.
 
:; 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.
 +
::: {{Example|1=The [[Expansions#Odyssey|Odyssey]] expansion has an article on the wiki called [[Odyssey]] so use "UniWiki=&nbsp;yes".<br><br>However, the [[Expansions#Kronos|Kronos]] expansion could not use its name as an article name because there is already a [[Kronos|ship]] with that name.<br> In this case the 'UniWiki' parameter should be identical to the expansion's article name [[Kronos (expansion)]], which gives&nbsp;"UniWiki= Kronos&nbsp;(expansion)".}}
 
:; release_date= : The release date of the expansion.
 
:; release_date= : The release date of the expansion.
:; expansion_site= : URL of the expansions web page.
+
:; expansion_site= : URL of the expansion's web page.
 
:; patch_notes= : URL of the expansion's patch notes.
 
:; patch_notes= : URL of the expansion's patch notes.
:; features_list= List of what is in the update.
+
:; features_list= : List of what is in the update.
 +
 
 +
; Sample
 +
:; No article
 +
:: {{code|<nowiki>{{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.
 +
}}</nowiki>}} gives ...
 +
{{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.
 +
}}
 +
 
 +
:; Article name identical to the expansion name
 +
:: {{code|<nowiki>{{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.
 +
}}</nowiki>}} gives ...
 +
{{User:Evon R'al/Sandbox template
 +
|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.
 +
}}
 +
 
 +
:; Article name different from the expansion name
 +
:: {{code|<nowiki>{{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.
 +
}}</nowiki>}} gives ...
 +
{{User:Evon R'al/Sandbox template
 +
|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.
 +
}}
  
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:07, 18 September 2022

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.
Syntax
{{Expansions |expansion_name= |UniWiki= |release_date= |expansion_site= |patch_notes= |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 release date of the expansion.
expansion_site= 
URL of the expansion's web page.
patch_notes= 
URL of the expansion's patch notes.
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 ...
Example text
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 ...
Example text