ElEditors, Interface administrators, Administrators
70,892
edits
m (Ritsu moved page Doc:Template:Force to Template:Force/doc) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
*<nowiki>{{Force|</nowiki>'''file'''<nowiki>}}</nowiki> - name of the image (without the "File:" prefix) | *<nowiki>{{Force|</nowiki>'''file'''<nowiki>}}</nowiki> - name of the image (without the "File:" prefix) | ||
*'''link''' - optional link to the skill (provide only skill name, redirects to [Mod] automatically) | *'''link''' - optional link to the skill (provide only skill name, redirects to [Mod] automatically) | ||
*'''size''' - if '''1''', displays a 20px icon, if '''2''' - 27px | *'''language''' - the language of the page | ||
*'''name''' - optional name for the skill in other languages | |||
*'''size''' - if '''1''', displays a 20px icon, if '''2''' - 27px, if '''3''' - 30px | |||
*[https://developer.mozilla.org/en-US/docs/Web/CSS/float '''float'''] - if '''right''' or '''left''' specified, pushes the picture to the right or the left of the page | *[https://developer.mozilla.org/en-US/docs/Web/CSS/float '''float'''] - if '''right''' or '''left''' specified, pushes the picture to the right or the left of the page | ||
*[https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align '''valign'''] - vertical align of the picture, useful if inserted in the middle of a text block or so, can equal to top/bottom/baseline/middle | *[https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align '''valign'''] - vertical align of the picture, useful if inserted in the middle of a text block or so, can equal to top/bottom/baseline/middle | ||
Line 20: | Line 22: | ||
<nowiki>{{Force|MariciSkill4.png|link=Iceberg}}</nowiki> | <nowiki>{{Force|MariciSkill4.png|link=Iceberg}}</nowiki> | ||
result: {{Force|MariciSkill4.png|link=Iceberg}} | result: {{Force|MariciSkill4.png|link=Iceberg}} | ||
<nowiki>{{Force|MariciSkill4.png|link=Iceberg|language=zh-hans|name=[变化]冰山}}</nowiki> | |||
result: {{Force|MariciSkill4.png|link=Iceberg|language=zh-hans|name=[变化]冰山}} | |||
<nowiki>{{Force|MariciSkill4.png|size=1}}</nowiki> | <nowiki>{{Force|MariciSkill4.png|size=1}}</nowiki> | ||
result: {{Force|MariciSkill4.png|size=1}} | result: {{Force|MariciSkill4.png|size=1}} |