Template:Plink/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} The '''picture link''' template creates an image and links it to the page as well as including text. This template is not intended to be commonly used in mainspace articles. It is primarily used in navboxes and tables to add images to help with navigation. In most other cases, pages should be linked with normal markup and without an image. ==Usage== <pre>{{plink|item|pic=file name|txt=text}}</pre> ==Examples== {|class="wikitable" |+ Examples !Code !...")
 
No edit summary
Line 18: Line 18:
|<code><nowiki>[[File:Hammermage potion.png|link=Hammermage potion]] [[Hammermage potion]]</nowiki></code>
|<code><nowiki>[[File:Hammermage potion.png|link=Hammermage potion]] [[Hammermage potion]]</nowiki></code>
|-
|-
|<code><nowiki>{{plink|Hammermage potion|size=32}}</nowiki></code>
|<code><nowiki>{{plink|Hammermage potion|size=50}}</nowiki></code>
|{{plink|Hammermage potion|size=32}}
|{{plink|Hammermage potion|size=50}}
|<code><nowiki>[[File:Hammermage potion.png|32px|link=Hammermage potion]] [[Hammermage potion]]</nowiki></code>
|<code><nowiki>[[File:Hammermage potion.png|50px|link=Hammermage potion]] [[Hammermage potion]]</nowiki></code>
|-
|-
|<code><nowiki>{{plink|Health potion|pic=Hammermage potion}}</nowiki></code>
|<code><nowiki>{{plink|Health potion|pic=Hammermage potion}}</nowiki></code>