Difference between revisions of "Template:Expansions/doc"

From EVE University Wiki
Jump to: navigation, search
(Reformat doc. Add info about the anchor.)
m (Update to include documentation for last_update variable)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
; Description
 
; Description
 
: A template used to provide information about [[Expansions]] to EVE Online
 
: 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.
+
: The template automatically adds a link anchor to make it possible to link directly to the specific expansion, using the expansions name.
  
 
; Syntax
 
; Syntax
 
:{{code|<nowiki>{{Expansions
 
:{{code|<nowiki>{{Expansions
 
|expansion_name=  
 
|expansion_name=  
 +
|UniWiki=
 
|release_date=  
 
|release_date=  
 +
|last_update=
 
|expansion_site=  
 
|expansion_site=  
 
|patch_notes=  
 
|patch_notes=  
 +
|splash_screen=
 
|features_list=  
 
|features_list=  
 
}}</nowiki>}}
 
}}</nowiki>}}
Line 14: Line 17:
 
; 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.
:; release_date= : The release date of the expansion.
+
:; UniWiki= : Either ''yes'' or <''article name''>, only to be used when the expansion has its own article on the wiki:
:; expansion_site= : URL of the expansions web page.
+
::: - ''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 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.
 
:; patch_notes= : URL of the expansion's patch notes.
:; features_list= List of what is in the update.
+
:; splash_screen= : Optional screenshot of the expansion's splash screen.
 +
:; 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 ...
 +
{{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.
 +
}}
 +
 
 +
:; 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 ...
 +
{{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.
 +
}}
  
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 04:29, 20 January 2024

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.