Difference between revisions of "Template:Figure/fr"

From Wikicarpedia
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 32: Line 32:
  | Witch = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|MageWitchLink}}}|image=Figure_Witch.png|ratio={{{ratio|1}}}|size={{{size|x62px}}}|text=Sorcière }}
  | Witch = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|MageWitchLink}}}|image=Figure_Witch.png|ratio={{{ratio|1}}}|size={{{size|x62px}}}|text=Sorcière }}
  | <code>Pion inconnu</code> {{{name}}}
  | <code>Pion inconnu</code> {{{name}}}
}}<noinclude><languages />{{Breadcrumbs|link1={{EditorManualLink}}}}{{#switch: {{PAGELANGUAGE}}
}}{{#ifeq: {{{variant}}} | figure | <span lang="en" dir="ltr" class="mw-content-ltr">figure</span> }}<noinclude><languages />{{Breadcrumbs|link1={{EditorManualLink}}}}{{#switch: {{PAGELANGUAGE}}
  | en = [[Category:Translatable_templates]]  
  | en = [[Category:Translatable_templates]]  
  |  
  |  
Line 47: Line 47:
* <code>name</code> Required. Name of figure.
* <code>name</code> Required. Name of figure.
* <code>edition</code> Optional. For expansions with edition depend rule pages, like <code>C1</code>, <code>C2</code>, <code>C3</code>, <code>WE1</code>, <code>WE2</code>, <code>WE3</code>
* <code>edition</code> Optional. For expansions with edition depend rule pages, like <code>C1</code>, <code>C2</code>, <code>C3</code>, <code>WE1</code>, <code>WE2</code>, <code>WE3</code>
* <code>variant</code> Optional. If value is set <code>image</code> then image with link to expansion is showed instead of name of figure.
* <code>variant</code> Optional. [<code>image</code> | <code>figure</code> | -empty- ]. If value is set <code>image</code> then image with link to expansion is showed instead of name of figure. When value is <code><figure> "figure" text is added after name of figure, like Abbot figure.
* <code>ratio</code> Optional. Float number to resize image in requested ratio, when want to keep calculated dimensions and resizing to specific ration, like <code><nowiki>{{{#exp: 100/150 }}}</nowiki></code> when want ratio from 100px to 150px or by <code>0.5</code> for 50% of default size
* <code>ratio</code> Optional. Float number to resize image in requested ratio, when want to keep calculated dimensions and resizing to specific ration, like <code><nowiki>{{{#exp: 100/150 }}}</nowiki></code> when want ratio from 100px to 150px or by <code>0.5</code> for 50% of default size
* <code>size</code> Optional. Size of image for <code>variant=image</code> overwrites predefined size which was calculated to compare with other pieces.
* <code>size</code> Optional. Size of image for <code>variant=image</code> overwrites predefined size which was calculated to compare with other pieces.

Revision as of 22:35, 13 March 2023

Pion inconnu {{{name}}}

Description

Carcassonne game Figure - Name with link to rules or Image with link to rules.
Images normalized to height in mm x 3,125 px. Normal meeple 50px in 3D style image.
Measurements made by Scott Carcassonne Central Topic

Possible future version can read those data from some kind of database. Currently it is hardcoded. But when it will replaced by mentioned database approach, it will not need to update any Wiki page for it, because it's called by variables defined in this template.

Params

  • name Required. Name of figure.
  • edition Optional. For expansions with edition depend rule pages, like C1, C2, C3, WE1, WE2, WE3
  • variant Optional. [image | figure | -empty- ]. If value is set image then image with link to expansion is showed instead of name of figure. When value is <figure> "figure" text is added after name of figure, like Abbot figure.
  • ratio Optional. Float number to resize image in requested ratio, when want to keep calculated dimensions and resizing to specific ration, like {{{#exp: 100/150 }}} when want ratio from 100px to 150px or by 0.5 for 50% of default size
  • size Optional. Size of image for variant=image overwrites predefined size which was calculated to compare with other pieces.
  • count Optional. Prepend count of feature with text {{{count}}}x. When type=abbr, then there is no space between count and feature.
  • linkname Optional. Overwrite original linkname based on Feature. Usable when want to link Fan expansions, or other expansion like initial expansion of feature.
  • anchor. Optional. Requested anchor if different like predefined. Predefined anchor is ignored when linkname is set.


Old stuff

Need to move in proper way with image to Template:Piece

| Catapult = {{CatapultLink|edition={{{edition|}}}|logo=hide|text=Catapult}} | Ferry = {{FerriesLink|edition={{{edition|}}}|logo=hide|text=Ferry }} | FlightDie = {{FlyingMachinesLink|edition={{{edition|}}}|logo=hide|text=Flight die }} | GoldIngot = {{GoldminesLink|edition={{{edition|}}}|logo=hide|text=Gold ingot }}

Examples

Code Text name variant=image
Jeu de baseJeu de base
{{Figure|name=Meeple|edition=C3}} Meeple Figure Meeple red.png
{{Figure|name=Meeple|edition=C2}} Meeple Figure Meeple red.png
{{Figure|name=Meeple|edition=C1}} Partisan Figure Meeple red.png
{{Figure|name=NormalMeeple|edition=C3}} Meeple normal Figure Meeple red.png
{{Figure|name=NormalMeeple|edition=C2}} Meeple normal Figure Meeple red.png
{{Figure|name=NormalMeeple|edition=C1}} Partisan normal Figure Meeple red.png
L’AbbéL’Abbé
{{Figure|name=Abbot}} Abbé Figure Abbot red.png
Ext. 1 – Auberges et CathédralesExt. 1 – Auberges et Cathédrales
{{Figure|name=LargeMeeple|edition=C3}} Grand meeple Figure MeepleLarge red.png
{{Figure|name=LargeMeeple|edition=C2}} Grand meeple Figure MeepleLarge red.png
{{Figure|name=LargeMeeple|edition=C1}} Gros partisan Figure MeepleLarge red.png
Ext. 2 – Marchands et BâtisseursExt. 2 – Marchands et Bâtisseurs
{{Figure|name=Builder}} Bâtisseur Figure Builder red.png
{{Figure|name=Pig}} Cochon Figure Pig red.png
Ext. 3 – Princesse et DragonExt. 3 – Princesse et Dragon
{{Figure|name=Dragon}} Dragon Figure Dragon.png
{{Figure|name=Fairy}} Fée Figure Fairy.png
{{Figure|name=RedDragon}} Dragon rouge Figure Dragon.png
Ext. 5 – Maires et MonastèresExt. 5 – Maires et Monastères
{{Figure|name=Mayor}} Maire Figure Mayor red.png
{{Figure|name=Wagon}} Charriot Figure Wagon red.png
{{Figure|name=Barn}} Grange Figure Barn red.png
Ext. 6 – Comte, Roi et BrigandExt. 6 – Comte, Roi et Brigand
{{Figure|name=Count}} Comte Figure Count.png
Ext. 9 – Moutons et CollinesExt. 9 – Moutons et Collines
{{Figure|name=Shepherd}} Berger Figure Shepherd red.png
Ext. 10 – Tous en Piste !Ext. 10 – Tous en Piste !
{{Figure|name=BigTop}} Chapiteau Figure Roundtop.png
{{Figure|name=Ringmaster}} Directeur de cirque Figure Ringmaster red.png
Ext. 11 – Fantômes, Châteaux et CimetièresExt. 11 – Fantômes, Châteaux et Cimetières
{{Figure|name=GuardMeeple}} Meeple Sentinelle Figure Guard Meeple red.png
{{Figure|name=Ghost}} Fantôme Figure Mist Ghost.png
La Roue de la FortuneLa Roue de la Fortune
{{Figure|name=BigPinkPig}} Grand cochon rose Figure BigPinkPig.png
Mini n°2 – Les HérautsMini n°2 – Les Hérauts
{{Figure|name=Messenger}} Meeplette Figure Messenger red.png
Mini n°5 – Mage et SorcièreMini n°5 – Mage et Sorcière
{{Figure|name=Mage}} Mage Figure Mage.png
{{Figure|name=Witch}} Sorcière Figure Witch.png
Mini n°6 – Les VoleursMini n°6 – Les Voleurs
{{Figure|name=Robber}} Voleur Figure Robber red.png
Le FantômeLe Fantôme
{{Figure|name=Phantom}} Fantôme Figure Phantom red.png
L’ÉcoleL’École
{{Figure|name=Teacher}} Enseignant Figure Teacher purple.png
Édition Hiver
Le bonhomme de pain d’épiceLe bonhomme de pain d’épice
{{Figure|name=GingerbreadMan}} Bonhomme de pain d’épice Figure Gingerbreadman.png
{{Figure|name=GingerbreadManToken}} Jeton Bonhomme de pain d’épice Gingerbread Man WE Russian Token.png
Extensions de fans
Le Dragon NoirLe Dragon Noir
{{Figure|name=BlackDragon}} Dragon noir Figure Black Dragon.png
Le Coursier (The Courier)Le Coursier (The Courier)
{{Figure|name=Courier}} Coursier Figure Courier.png
Pâques à CarcassonnePâques à Carcassonne
{{Figure|name=EasterBunny}} Lapin de Pâques Figure EasterBunny.png
The ObeliskThe Obelisk
{{Figure|name=Obelisk}} Obélisque Figure Obelisk Red.png