Difference between revisions of "Skill layout simple/Documentation"

m (Added proper spacing to documentation)
m (Stated that the "text" parameter is optional)
Line 6: Line 6:
 
{{bullet}}'''link''': The name of the wiki page to link to when either the image or the text following it is clicked.
 
{{bullet}}'''link''': The name of the wiki page to link to when either the image or the text following it is clicked.
  
{{bullet}}'''text''': The text of the link to be used.
+
{{bullet}}'''text''': Optional. The text of the link to be used.
 
==Usage==
 
==Usage==
 
<pre>{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills}}
 
<pre>{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills}}
 
{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills|text=Blast Medic}}</pre>
 
{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills|text=Blast Medic}}</pre>

Revision as of 16:55, 28 January 2022

Description

Creates a layout for the specified image, and displays it as a small clickableimage with a link next to it.

Parameters

(unnamed parameter): The name of the image file to be used.

link: The name of the wiki page to link to when either the image or the text following it is clicked.

text: Optional. The text of the link to be used.

Usage

{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills}}
{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills|text=Blast Medic}}