Welcome to IOPWiki, Commander.
With the release of the Global Beta, we encourage contributions to topics related to Girls' Frontline 2. Learn how to contribute and join our Discord server to discuss major changes.

Template:Icon: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Pianoforte (talk | contribs)
mNo edit summary
m Moved to proper CSS classes
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<includeonly>{{#ifeq:{{{2|}}}|m|<div class="icon-bg-2star-small">[[File:{{{icon|Item_{{{1|}}}.png}}}|center|link=Items#{{{1|}}}|x50px]]</div>|{{#switch:{{{1}}}
| ammo = [[File:Icon_ammo.png|link=|{{{w|20px}}}]]  
| ammo = [[File:Icon_ammo.png|link=|{{{w|20px}}}]]  
| ammunition = [[File:Icon_ammo.png|link=|{{{w|20px}}}]]  
| ammunition = [[File:Icon_ammo.png|link=|{{{w|20px}}}]]  
| rations = [[File:Icon_ration.png|link=|{{{w|20px}}}]]  
| rations = [[File:Icon_ration.png|link=|{{{w|20px}}}]]  
| ration = [[File:Icon_ration.png|link=|{{{w|20px}}}]]
| manpower = [[File:Icon_manpower.png|link=|{{{w|20px}}}]]  
| manpower = [[File:Icon_manpower.png|link=|{{{w|20px}}}]]  
| parts = [[File:Icon_parts.png|link=|{{{w|20px}}}]]  
| parts = [[File:Icon_parts.png|link=|{{{w|20px}}}]]  
| repair = [[File:Icon_repair.png|link=|{{{w|20px}}}]]  
| quickrepair = [[File:Icon_quickrepair.png|link=Items#Quick Restoration Contract|{{{w|20px}}}]]
| #default = <span style="color: red; font-size: 11px;">(unknown identifier “{{{1}}}” used by [[Template:Icon]])</span>[[Category:Pages with unknown icon identifiers]]
| quickbuild = [[File:Icon_quickbuild.png|link=Items#Quick Production Contract|{{{w|20px}}}]]
}}</includeonly><noinclude>
| quicktrain = [[File:Icon_quicktrain.png|link=Items#Quick Training Contract|{{{w|20px}}}]]  
==Usage==
| quickanalyse = [[File:Item_Quick_Analysis_Contract.png|link=Items#Quick Analysis Contract|{{{w|20px}}}]]
WIP. Provides access to simple icons for various common in-game terms.
| quickanalysis = [[File:Item_Quick_Analysis_Contract.png|link=Items#Quick Analysis Contract|{{{w|20px}}}]]
 
| contractdoll = [[File:Icon_contractdoll.png|link=Items#T-Doll Contract|{{{w|20px}}}]]
Syntax: <code><nowiki>{{Icon|identifier|width}}</nowiki></code> or <code><nowiki>{{Icon|identifier}}</nowiki></code>. If width is left unset, icon size should default to 20px.
| contractequip = [[File:Icon_contractequip.png|link=Items#Equipment Production Contract|{{{w|20px}}}]]
 
| calibrationvoucher = [[File:Icon_voucher.png|link=Items#Calibration Ticket|{{{w|20px}}}]]  
For example, adding <code><nowiki>{{Icon|ammo}}</nowiki></code> to the page source will add {{Icon|ammo}} to the page.
| calibrationticket = [[File:Icon_voucher.png|link=Items#Calibration Ticket|{{{w|20px}}}]]  
 
| procurementcoin = [[File:Icon_procurementcoin.png|link=Items#Token|{{{w|20px}}}]]
Available identifiers are listed below.
| procurementcoins = [[File:Icon_procurementcoin.png|link=Items#Token|{{{w|20px}}}]]
==Available Icons==
| token = [[File:Icon_procurementcoin.png|link=Items#Token|{{{w|20px}}}]]
===Resources===
| tokens = [[File:Icon_procurementcoin.png|link=Items#Token|{{{w|20px}}}]]
 
| friendpoint = [[File:Item_Friendship_Points.png|link=Items#Friendship Points|{{{w|20px}}}]]
{| class="gf-table"
| friendpoints = [[File:Item_Friendship_Points.png|link=Items#Friendship Points|{{{w|20px}}}]]
|-
| basicdata = [[File:Item_Basic_Training_Data.png|link=Items#Basic Training Data|{{{w|20px}}}]]
! Icon
| beginnerdata = [[File:Item_Basic_Training_Data.png|link=Items#Basic Training Data|{{{w|20px}}}]]
! Identifier
| intermediatedata = [[File:Item_Intermediate_Training_Data.png|link=Items#Intermediate Training Data|{{{w|20px}}}]]
|-
| intdata = [[File:Item_Intermediate_Training_Data.png|link=Items#Intermediate Training Data|{{{w|20px}}}]]
| {{Icon|ammunition}}
| advanceddata = [[File:Item_Advanced_Training_Data.png|link=Items#Advanced Training Data|{{{w|20px}}}]]
| ammunition, ammo
| advdata = [[File:Item_Advanced_Training_Data.png|link=Items#Advanced Training Data|{{{w|20px}}}]]
|-
| capsule = [[File:Item_Enhancement_Capsule.png|link=Items#Enhancement Capsule|{{{w|20px}}}]]
| {{Icon|manpower}}
| capsules = [[File:Item_Enhancement_Capsule.png|link=Items#Enhancement Capsule|{{{w|20px}}}]]
| manpower
| pill = [[File:Item_Enhancement_Capsule.png|link=Items#Enhancement Capsule|{{{w|20px}}}]]
|-
| pills = [[File:Item_Enhancement_Capsule.png|link=Items#Enhancement Capsule|{{{w|20px}}}]]
| {{Icon|parts}}
| battery = [[File:Item_Battery.png|link=Items#Battery|{{{w|20px}}}]]
| parts
| batteries = [[File:Item_Battery.png|link=Items#Battery|{{{w|20px}}}]]
|-
| gem = [[File:Icon_gem.png|link=Items#Diamonds|{{{w|20px}}}]]
| {{Icon|rations}}
| gems = [[File:Icon_gem.png|link=Items#Diamonds|{{{w|20px}}}]]
| rations
| diamond = [[File:Icon_gem.png|link=Items#Diamonds|{{{w|20px}}}]]
|-
| diamonds = [[File:Icon_gem.png|link=Items#Diamonds|{{{w|20px}}}]]
| {{Icon|repair}}
| core = [[File:Icon_core.png|link=Items#Dummy Core|{{{w|20px}}}]]
| repair contract
| cores = [[File:Icon_core.png|link=Items#Dummy Core|{{{w|20px}}}]]
|}
| memoryfragment = [[File:Item_Memory_Fragment.png|link=Items#Memory Fragment|{{{w|20px}}}]]
 
| report = [[File:Item_Combat_Report.png|link=Items#Combat Report|{{{w|20px}}}]]
</noinclude>
| combatreport = [[File:Item_Combat_Report.png|link=Items#Combat Report|{{{w|20px}}}]]
| battlereport = [[File:Item_Combat_Report.png|link=Items#Combat Report|{{{w|20px}}}]]
| advancedreport = [[File:Item_Advanced_Combat_Report.png|link=Items#Advanced Combat Report|{{{w|20px}}}]]
| advancedcombatreport = [[File:Item_Advanced_Combat_Report.png|link=Items#Advanced Combat Report|{{{w|20px}}}]]
| advancedbattlereport = [[File:Item_Advanced_Combat_Report.png|link=Items#Advanced Combat Report|{{{w|20px}}}]]
| wavedatapatch = [[File:Item_Wave_Data_Patch.png|link=Items#WAVE Data Patch|{{{w|20px}}}]]
| advancedcore = [[File:Item_Wave_Data_Patch.png|link=Items#WAVE Data Patch|{{{w|20px}}}]]
| rawdata = [[File:Item_Raw_Data.png|link=Items#Raw Sample|{{{w|20px}}}]]
| hocdata = [[File:Item_Raw_Data.png|link=Items#Raw Sample|{{{w|20px}}}]]
| hocrawdata = [[File:Item_Raw_Data.png|link=Items#Raw Sample|{{{w|20px}}}]]
| puredata = [[File:Item_Pure_Data.png|link=Items#Pure Sample|{{{w|20px}}}]]
| hocpuredata = [[File:Item_Pure_Data.png|link=Items#Pure Sample|{{{w|20px}}}]]
| firecontrolcomponent = [[File:Item_Fire_Control_Component.png|link=Items#Pure Sample|{{{w|20px}}}]]
| firecontrol = [[File:Item_Fire_Control_Component.png|link=Items#Pure Sample|{{{w|20px}}}]]
| fcc = [[File:Item_Fire_Control_Component.png|link=Items#Pure Sample|{{{w|20px}}}]]
| eec= [[File:Item_Equipment_Enhancement_Component.png|link=Items#Pure Sample|{{{w|20px}}}]]
| equipmentenhancement= [[File:Item_Equipment_Enhancement_Component.png|link=Items#Pure Sample|{{{w|20px}}}]]
| equipmentenhancementcomponent= [[File:Item_Equipment_Enhancement_Component.png|link=Items#Pure Sample|{{{w|20px}}}]]
| randomcoloring= [[File:Item_Dress_Up_Random_Coloring.png|link=Items#Pure Sample|{{{w|20px}}}]]
| specificcoloring = [[File:Item_Dress_Up_Specific_Coloring.png|link=Items#Pure Sample|{{{w|20px}}}]]
| #default = [[File:Item_{{{1|}}}.png|link={{#ifeq:{{{3|}}}|pnc|PNC&nbsp;}}Items#{{{1|}}}|{{{w|20px}}}]]
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 01:17, 29 June 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

This template provides access to simple icons for various common in-game terms. When adding new icons, please be sure to edit this documentation to include the new icons.

Usage[edit]

Syntax: {{Icon|identifier|width}} or {{Icon|identifier}}. If width is left unset, icon size should default to 20px.

For example, adding {{Icon|ammo}} to the page source will add to the page, and adding {{Icon|ammo|w=50px}} will add .

Add m as second argument to display a background ({{Icon|identifier|m}}).

Add pnc as third argument to link to the PNC Items article ({{Icon|identifier||pnc}}).

Available Icons[edit]

Resources[edit]

Icon Identifier
ammunition, ammo
manpower
parts
ration, rations
quickbuild
quickrepair
quicktrain
quickanalysis, quickanalyse
contractdoll
contractequip
basicdata, beginnerdata
intdata, intermediatedata
advdata, advanceddata
battery, batteries
friendpoint, friendpoints
capsule, capsules, pill, pills
procurementcoin, procurementcoins, token, tokens
core, cores
gem, gems, diamond, diamonds
calibrationvoucher, calibrationticket
memoryfragment
report, combatreport, battlereport
advancedreport, advancedcombatreport, advancedbattlereport
wavedatapatch, advancedcore
rawdata, hocdata, hocrawdata
puredata, hocpuredata
fcc, firecontrol, firecontrolcomponent
eec, equipmentenhancement, equipmentenhancementcomponent
randomcoloring
specificcoloring