Difference between revisions of "Template:Location/doc"

From EVE University Wiki
Jump to: navigation, search
m
m (Add parameter description. Remove unneeded namespace from template call.)
Line 1: Line 1:
 +
; Description
 +
: This template is used for making location boxes.
 +
: The template will also add an anchor for the location name.
  
;Description
+
; Syntax
:This template is used for making location boxes.
+
<pre>{{Location
:The template will also add an anchor for the location name.
+
|name   =  
 
 
;Syntax
 
<pre>{{Template:Location
 
|name =  
 
 
|system =
 
|system =
|image =  
+
|image =  
|quote =  
+
|quote =  
|text =  
+
|text   =  
|link =  
+
|link   =  
 
}}</pre>
 
}}</pre>
 +
:; Parameters
 +
::; name : Name of the location
 +
::; system : Name of the system the location is in
 +
::; image : File name of the image with type but without brackets.
 +
::; quote : In-game description
 +
::; text : Description
 +
::; link : Relevant link with with square brackets.
  
;Sample output
+
; Sample output
 
+
<pre><nowiki>{{Location</nowiki>
<code><nowiki>{{Template:Location</nowiki></code><br>
+
|name   = The Solitaire
<code><nowiki>|name = The Solitaire</nowiki></code><br>
+
|system = Ienakkamon
<code><nowiki>|system = Ienakkamon</nowiki></code><br>
+
|image = Solitaire.jpg
<code><nowiki>|image = Solitaire.jpg</nowiki></code><br>
+
|quote = A ghost ship of enormous proportions, this Ragnarok-class Titan should be at the core of a Minmatar strike force or planetary defense, yet here it floats in silence. Its hull is airtight, yet all useful technology has been meticulously stripped from it, including weapons systems, propulsion, and electronics. There is no trace of its crew, despite all of its escape pods being present.
<code><nowiki>|quote = A ghost ship of enormous proportions, this Ragnarok-class Titan should be at the core of a Minmatar strike force or planetary defense, yet here it floats in silence. Its hull is airtight, yet all useful technology has been meticulously stripped from it, including weapons systems, propulsion, and electronics. There is no trace of its crew, despite all of its escape pods being present.</nowiki></code><br>
+
|text   = The remains of a Ragnarok-class Titan. It is unknown why the ship is in Caldari space. You can use entosis module on the ship to retrieve items for [[Project Discovery treasure hunt]].
<code><nowiki>|text = The remains of a Ragnarok-class Titan. It is unknown why the ship is in Caldari space. You can use entosis module on the ship to retrieve items for [[Project Discovery treasure hunt]]. </nowiki></code><br>
+
|link   =  
<code><nowiki>|link = </nowiki></code><br>
+
}}</pre>
<code><nowiki>}}</nowiki></code>
 
  
::gives...
+
: gives...
 
<noinclude>
 
<noinclude>
{{Template:Location
+
{{Location
|name = The Solitaire
+
|name   = The Solitaire
 
|system = Ienakkamon
 
|system = Ienakkamon
|image = Solitaire.jpg
+
|image = Solitaire.jpg
|quote = A ghost ship of enormous proportions, this Ragnarok-class Titan should be at the core of a Minmatar strike force or planetary defense, yet here it floats in silence. Its hull is airtight, yet all useful technology has been meticulously stripped from it, including weapons systems, propulsion, and electronics. There is no trace of its crew, despite all of its escape pods being present.
+
|quote = A ghost ship of enormous proportions, this Ragnarok-class Titan should be at the core of a Minmatar strike force or planetary defense, yet here it floats in silence. Its hull is airtight, yet all useful technology has been meticulously stripped from it, including weapons systems, propulsion, and electronics. There is no trace of its crew, despite all of its escape pods being present.
|text = The remains of a Ragnarok-class Titan. It is unknown why the ship is in Caldari space. You can use entosis module on the ship to retrieve items for [[Project Discovery treasure hunt]].  
+
|text   = The remains of a Ragnarok-class Titan. It is unknown why the ship is in Caldari space. You can use entosis module on the ship to retrieve items for [[Project Discovery treasure hunt]].  
|link =
+
|link   =
 
}}</noinclude>
 
}}</noinclude>
  
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 13:52, 28 March 2024

Description
This template is used for making location boxes.
The template will also add an anchor for the location name.
Syntax
{{Location
|name   = 
|system =
|image  = 
|quote  = 
|text   = 
|link   = 
}}
Parameters
name 
Name of the location
system 
Name of the system the location is in
image 
File name of the image with type but without brackets.
quote 
In-game description
text 
Description
link 
Relevant link with with square brackets.
Sample output
{{Location
|name   = The Solitaire
|system = Ienakkamon
|image  = Solitaire.jpg
|quote  = A ghost ship of enormous proportions, this Ragnarok-class Titan should be at the core of a Minmatar strike force or planetary defense, yet here it floats in silence. Its hull is airtight, yet all useful technology has been meticulously stripped from it, including weapons systems, propulsion, and electronics. There is no trace of its crew, despite all of its escape pods being present.
|text   = The remains of a Ragnarok-class Titan. It is unknown why the ship is in Caldari space. You can use entosis module on the ship to retrieve items for [[Project Discovery treasure hunt]].
|link   = 
}}
gives...
The Solitaire Location: Ienakkamon
Solitaire.jpg The remains of a Ragnarok-class Titan. It is unknown why the ship is in Caldari space. You can use entosis module on the ship to retrieve items for Project Discovery treasure hunt.

A ghost ship of enormous proportions, this Ragnarok-class Titan should be at the core of a Minmatar strike force or planetary defense, yet here it floats in silence. Its hull is airtight, yet all useful technology has been meticulously stripped from it, including weapons systems, propulsion, and electronics. There is no trace of its crew, despite all of its escape pods being present.