Changes

629 bytes removed ,  16:18, 30 November 2022
no edit summary
Line 11: Line 11:  
All Optional Parameters if used together with "quantity" should be placed after the quantity value!
 
All Optional Parameters if used together with "quantity" should be placed after the quantity value!
 
*size: the image size to be displayed (example: size=48)
 
*size: the image size to be displayed (example: size=48)
*image: an alternative image to display (example: image=Angler.png)
   
*link: replace the name with a link to another page
 
*link: replace the name with a link to another page
 
*class: alternative classes. Currently there is only '''inline''' to suppress line break (example: class=inline)
 
*class: alternative classes. Currently there is only '''inline''' to suppress line break (example: class=inline)
Line 31: Line 30:  
Result: {{name|Apple|size=48}}
 
Result: {{name|Apple|size=48}}
   −
If the size parameter is used together with quantity it should be placed after the quantity number:
   
<pre>{{name|Melon|3|size=48}}</pre>
 
<pre>{{name|Melon|3|size=48}}</pre>
 
Result: {{name|Melon|3|size=48}}
 
Result: {{name|Melon|3|size=48}}
   −
If the image parameter is used together with quantity it should be placed after the quantity number:
  −
<pre>{{name|Grape|3|image=Hops.png}}</pre>
  −
Result: {{name|Grape|3|image=Hops.png}}
  −
  −
If the link parameter is used together with quantity it should be placed after the quantity number:
   
<pre>{{name|Corn|3|link=Grape}}</pre>
 
<pre>{{name|Corn|3|link=Grape}}</pre>
 
Result: {{name|Corn|3|link=Grape}}
 
Result: {{name|Corn|3|link=Grape}}
  −
It's also possible to use multiple optional parameters:
  −
<pre>{{name|Grape|3|image=Hops.png|size=64|class=inline}}.</pre>
  −
{{name|Grape|3|image=Hops.png|size=64|class=inline}}.
   
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>{{Addlanglinks}}</includeonly>
 
<includeonly>{{Addlanglinks}}</includeonly>
106,355

edits