„Minecraft Wiki/platform” és „Minecraft Wiki/editcopy/platform” oldalak közötti különbség

(Lapok közti eltérés)
1. lap
2. lap
(Az angol wiki alapján)
 
a
 
1. sor: 1. sor:
 
<div style="display: inline-block; padding: 0 0.5em;">[[File:{{{image}}}|{{{size|x50}}}px|link={{{link}}}|{{{title}}}]]{{
 
<div style="display: inline-block; padding: 0 0.5em;">[[File:{{{image}}}|{{{size|x50}}}px|link={{{link}}}|{{{title}}}]]{{
 
#if: {{{1|}}} | <br>'''{{version/FP|{{{1}}}}}''' }}</div><noinclude>
 
#if: {{{1|}}} | <br>'''{{version/FP|{{{1}}}}}''' }}</div><noinclude>
{{documentation}}
+
{{documentation|content=
  +
This template makes an individual platform image. {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/platform | [[Minecraft Wiki/editcopy/platform|Suggest changes on the editcopy]] | [{{fullurl:Special:ComparePages|page1={{urlencode:Minecraft Wiki/platform}}&page2={{urlencode:Minecraft Wiki/editcopy/platform}}}} Diff with main version of template] }}
<!-- Put categories/interwiki on the documentation page --></noinclude>
 
  +
  +
== Parameters ==
  +
  +
{{{!}} class="wikitable"
  +
! Parameter !! Function
  +
{{!}}-
  +
{{!}} {{p|1}} {{!!}} The platform name used in [[Template:Version/FP]]
  +
{{!}}-
  +
{{!}} {{p|image}} {{!!}} The image to use
  +
{{!}}-
  +
{{!}} {{p|size}} {{!!}} The size of the image, without px. Defaults to x50 (50px high)
  +
{{!}}-
  +
{{!}} {{p|link}} {{!!}} The link to use for the image
  +
{{!}}-
  +
{{!}} {{p|title}} {{!!}} The title to show when hovering over the image, and the image alt text.
  +
{{!}}}
  +
  +
[[Category:Formatting templates]]
  +
}}