Difference between revisions of "Template:Figure/fr"

Updating to match new version of source page
(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.
75,310

edits