Difference between revisions of "Template:Akitem"

From Moegirlpedia
Jump to: navigation, search
(Created page with "<includeonly><div style="display:inline-block;position:relative">{{#invoke:Akitem|main}}</div></includeonly><noinclude>{{Documentation}}Template:Arknights templates</noinc...")
 
 
Line 1: Line 1:
<includeonly><div style="display:inline-block;position:relative">{{#invoke:Akitem|main}}</div></includeonly><noinclude>{{Documentation}}[[Template:Arknights templates]]</noinclude>
+
<includeonly><div style="display:inline-block;position:relative">{{#invoke:Akitem|main}}</div></includeonly><noinclude>{{Documentation}}[[Category:Arknights templates]]</noinclude>

Latest revision as of 16:23, 22 March 2022

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

Embedded templates

Template:Akmat Template:Akcon Template:Akskin Template:Akfurni

Usage

{{Akitem
|1=<!-- Required: select item/skin/recruitment permission/furniture mode, only fill in mat/skin/con/fur -->
|2=<!-- Required: All Modes: Operator/Item/Furniture Name -->
|3=<!-- con mode: rarity; skin mode: operator skin number; fur mode: icon size (not recommended) -->
|size=<!-- all modes: icon size, numbers only; optional, default=75-->
|unit=<!-- all modes: dimension unit; optional, default=px -->
|link=<!-- mat mode: title of tomorrow's ark/material, optional -->
|num=<!-- mat mode: number of items, optional -->
|dt=<!-- fur, mat mode: item drop frequency; can only be filled in: fixed drop rare probability drop small probability high probability Samsung get first drop -->
}}

For skin/con mode, the 4=icon size syntax is still supported but deprecated. All icon sizes can only be assigned numerical values. If you need to specify the unit, please use unit. The size parameter takes precedence over the more obscure 3, 4.

Example

Props

{{Akitem|mat|Qualification certificate}}
{{Akitem|mat|Qualification certificate|link=certificate}}
{{Akitem|mat|Qualification certificate|size=80|unit=px}}
{{Akitem|mat|Qualification certificate|size=80|unit=px|num=999}}
{{Akitem|mat|Qualification certificate|size=80|unit=px|num=999|dt=High probability}}

Skins

{{Akitem|skin|Hibiscus|1}}
{{Akitem|skin|Hibiscus|1|size=60|unit=px}}

Recruitment permission

{{Akitem|con|Cross|3}}
{{Akitem|con|Cross|3|size=100|unit=px}}
Lua error: expandTemplate: template "akcon" does not exist.
Lua error: expandTemplate: template "akcon" does not exist.

Furniture

{{Akitem|fur|joint post}}
{{Akitem|fur|Joint Post|size=80|unit=px}}
{{Akitem|fur|Joint Post|size=80|unit=px|dt=Rare}}