This is a documentation for Board Game Arena: play board games online !

Template:Meeple: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(#switch not supported?)
(documentation)
Line 1: Line 1:
[[File:{{{1}}} meeple.png|30px]]<noinclude>
[[File:{{{1|grey}}} meeple.png|30px|alt={{{1|grey}}} meeple]]<noinclude>
 
==Documentation==
This is a template to embed a coloured meeple icon within game rules.
 
Currently supported colours are red, orange, yellow, green, blue, purple, black, white and grey. If you need other colours you can upload images with a filename of "(colour) meeple.png", such as [[:File:Red meeple.png]].
 
{|class="wikitable" style="text-align:left;"
|+Available parameters
!Parameter
!Default value
!Example
!Result
!Description
|-
|<code style="color:#b00;">null</code>
|<code><nowiki>grey</nowiki></code>
|<code><nowiki>{{meeple|red}}</nowiki></code>
|style="text-align:center;"|{{meeple|red}}
|The colour of the meeple.
|}
 
[[Category:GamePieceTemplates|Game piece templates]]
[[Category:GamePieceTemplates|Game piece templates]]
</noinclude>
</noinclude>

Revision as of 09:17, 3 June 2023

grey meeple

Documentation

This is a template to embed a coloured meeple icon within game rules.

Currently supported colours are red, orange, yellow, green, blue, purple, black, white and grey. If you need other colours you can upload images with a filename of "(colour) meeple.png", such as File:Red meeple.png.

Available parameters
Parameter Default value Example Result Description
null grey {{meeple|red}} red meeple The colour of the meeple.