Template:Plink/doc: Difference between revisions

287 bytes removed ,  Yesterday at 07:37
no edit summary
(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
 
(One intermediate revision by the same user not shown)
Line 14:
!Standard syntax
|-
|<code><nowiki>{{plink|Hammermage potionBucket}}</nowiki></code>
|{{plink|Hammermage potionBucket}}
|<code><nowiki>[[File:Hammermage potionBucket.png|link=Hammermage potionBucket]] [[Hammermage potionBucket]]</nowiki></code>
|-
|<code><nowiki>{{plink|Hammermage potionBucket|size=3250}}</nowiki></code>
|{{plink|Hammermage potionBucket|size=3250}}
|<code><nowiki>[[File:Hammermage potionBucket.png|32px50px|link=Hammermage potionBucket]] [[Hammermage potionBucket]]</nowiki></code>
|-
|<code><nowiki>{{plink|Health potionBottle|pic=Hammermage potionBucket}}</nowiki></code>
|{{plink|Health potionBottle|pic=Hammermage potionBucket}}
|<code><nowiki>[[File:Hammermage potionBucket.png|link=Health potionBottle]] [[Health potionBottle]]</nowiki></code>
|-
|<code><nowiki>{{plink|Hammermage potionBucket|txt=PotionBottle}}</nowiki></code>
|{{plink|Hammermage potionBucket|txt=PotionBottle}}
|<code><nowiki>[[File:Hammermage potionBucket.png|link=Hammermage potionBucket]] [[Hammermage potionBucket|PotionBottle]]</nowiki></code>
|-
|<code><nowiki>{{plink|Health potionBottle|pic=Hammermage potionBucket|txt=PotionBottle}}</nowiki></code>
|{{plink|Health potionBottle|pic=Hammermage potionBucket|txt=PotionBottle}}
|<code><nowiki>[[File:Hammermage potionBucket.png|link=Health potionBottle]] [[Health potionBottle|PotionBottle]]</nowiki></code>
|}