Template:Infobox normal/doc: Difference between revisions
(normal infobox documentation) |
(added primary and secondary uses) |
||
Line 16: | Line 16: | ||
|alternate_link= | |alternate_link= | ||
|weight=weight|weight_bkg=1 | |weight=weight|weight_bkg=1 | ||
|primary_use=primary_use | |||
|secondary_use=secondary_use|secondary_use_bkg=1 | |||
|can_store_water=can_store_water | |can_store_water=can_store_water | ||
|rain_factor=rain_factor|rain_factor_bkg=1 | |rain_factor=rain_factor|rain_factor_bkg=1 | ||
Line 32: | Line 34: | ||
|weight=weight | |weight=weight | ||
|weight_bkg= | |weight_bkg= | ||
|primary_use= | |||
|primary_use_bkg= | |||
|secondary_use= | |||
|secondary_use_bkg= | |||
|can_store_water= | |can_store_water= | ||
|can_store_water_bkg= | |can_store_water_bkg= | ||
Line 57: | Line 63: | ||
;weight: The base weight of the item. | ;weight: The base weight of the item. | ||
;"_bkg" suffix: Will display a slightly darker background over the row; used for simpler identification between each row. Leavin blank will leave white, whereas inserting ''anything'' will give the darkened background. (same for each parameter with ''_bkg'') | ;"_bkg" suffix: Will display a slightly darker background over the row; used for simpler identification between each row. Leavin blank will leave white, whereas inserting ''anything'' will give the darkened background. (same for each parameter with ''_bkg'') | ||
;primary_use: The item's primary use. Can usually be removed if the item isn't considered a ''tool'' by the wiki. ''(remove if value is empty)'' | |||
;secondary_use: The item's secondary use if it has one. Can usually be removed if the item isn't considered a ''tool'' by the wiki. ''(remove if value is empty)'' | |||
;can_store_water: Whether this item can act as a water container ''(remove if value is false)'' | ;can_store_water: Whether this item can act as a water container ''(remove if value is false)'' | ||
;rain_factor: The item's rain factor when it's left on the ground while it's raining. ''(remove if value is empty)'' | ;rain_factor: The item's rain factor when it's left on the ground while it's raining. ''(remove if value is empty)'' | ||
Line 73: | Line 81: | ||
|weight=0.1 | |weight=0.1 | ||
|weight_bkg=1 | |weight_bkg=1 | ||
|class_name=Base.Eraser | |primary_use=Remove markings from an [[Maps|annotated map]]. | ||
|class_name=Base.Eraser|class_name_bkg=1 | |||
}}<pre> | }}<pre> | ||
{{Infobox normal | {{Infobox normal | ||
|display_name=Eraser | |display_name=Eraser | ||
|image=Eraser_120px.png | |image=Eraser_120px.png | ||
|weight=0.1|weight_bkg=1 | |weight=0.1 | ||
|weight_bkg=1 | |||
|primary_use=Remove markings from an [[Maps|annotated map]]. | |||
|class_name=Base.Eraser | |class_name=Base.Eraser | ||
|class_name_bkg=1 | |||
}}</pre> | }}</pre> | ||
Line 91: | Line 103: | ||
|alternate_link=Bowl of Water | |alternate_link=Bowl of Water | ||
|weight=0.5|weight_bkg=1 | |weight=0.5|weight_bkg=1 | ||
|primary_use=[[Cooking]] utensil | |||
|secondary_use=[[Water]] container|secondary_use_bkg=1 | |||
|can_store_water=True | |can_store_water=True | ||
|rain_factor=0.5|rain_factor_bkg=1 | |rain_factor=0.5|rain_factor_bkg=1 | ||
Line 103: | Line 117: | ||
|weight=0.5 | |weight=0.5 | ||
|weight_bkg=1 | |weight_bkg=1 | ||
|primary_use=[[Cooking]] utensil | |||
|secondary_use=[[Water]] container | |||
|secondary_use_bkg=1 | |||
|can_store_water=True | |can_store_water=True | ||
|rain_factor=0.5 | |rain_factor=0.5 | ||
Line 118: | Line 135: | ||
|alternate_link=Dirty Rag | |alternate_link=Dirty Rag | ||
|weight=0.05|weight_bkg=1 | |weight=0.05|weight_bkg=1 | ||
|bandage_power=2 | |primary_use=[[Health#Bandaging|Bandage]] [[Moodles#Bleeding|bleeding]] [[Health#Types of Injuries|wounds]] | ||
|alcohol=True | |bandage_power=2|bandage_power_bkg=1 | ||
|class_name=Base.AlcoholRippedSheets | |alcohol=True | ||
|class_name=Base.AlcoholRippedSheets|class_name_bkg=1 | |||
}}<pre> | }}<pre> | ||
{{Infobox normal | {{Infobox normal | ||
Line 128: | Line 146: | ||
|alternate_name=Dirty Rag | |alternate_name=Dirty Rag | ||
|alternate_link=Dirty Rag | |alternate_link=Dirty Rag | ||
|weight=0.05|weight_bkg=1 | |weight=0.05 | ||
|weight_bkg=1 | |||
|primary_use=[[Health#Bandaging|Bandage]] [[Moodles#Bleeding|bleeding]] [[Health#Types of Injuries|wounds]] | |||
|bandage_power=2 | |bandage_power=2 | ||
|alcohol=True | |bandage_power_bkg=1 | ||
|alcohol=True | |||
|class_name=Base.AlcoholRippedSheets | |class_name=Base.AlcoholRippedSheets | ||
|class_name_bkg=1 | |||
}}</pre> | }}</pre> | ||
<br><br><br><br> | |||
'''Drying items, displaying the [[Bath Towel]]''' infobox | '''Drying items, displaying the [[Bath Towel]]''' infobox | ||
{{Infobox normal | {{Infobox normal | ||
Line 142: | Line 164: | ||
|alternate_name=Wet Bath Towel | |alternate_name=Wet Bath Towel | ||
|alternate_link= | |alternate_link= | ||
|weight='''Dry:''' 0.1<br>'''Wet:''' 0.5 | |weight='''Dry:''' 0.1<br>'''Wet:''' 0.5|weight_bkg=1 | ||
|weight_bkg=1 | |primary_use=Dry a [[Moodles#Wet|wet]] player | ||
|wet_cooldown=10000 | |wet_cooldown=10000|wet_cooldown_bkg=1 | ||
|class_name='''Dry:''' Base.BathTowel<br>'''Wet:''' Base.BathTowelWet | |class_name='''Dry:''' Base.BathTowel<br>'''Wet:''' Base.BathTowelWet | ||
}}<pre> | }}<pre> | ||
{{Infobox normal | {{Infobox normal | ||
Line 156: | Line 177: | ||
|weight='''Dry:''' 0.1<br>'''Wet:''' 0.5 | |weight='''Dry:''' 0.1<br>'''Wet:''' 0.5 | ||
|weight_bkg=1 | |weight_bkg=1 | ||
|primary_use=Dry a [[Moodles#Wet|wet]] player | |||
|wet_cooldown=10000 | |wet_cooldown=10000 | ||
|wet_cooldown_bkg=1 | |||
|class_name='''Dry:''' Base.BathTowel<br>'''Wet:''' Base.BathTowelWet | |class_name='''Dry:''' Base.BathTowel<br>'''Wet:''' Base.BathTowelWet | ||
}}</pre> | }}</pre> | ||
Line 167: | Line 189: | ||
|image=RemoteCrafted.png | |image=RemoteCrafted.png | ||
|weight=0.4|weight_bkg=1 | |weight=0.4|weight_bkg=1 | ||
|remote_range=7 | |primary_use=Trigger [[:Category:Bomb_and_Throwing_Items|traps]] remotely | ||
|class_name=Base.RemoteCraftedV1 | |remote_range=7|remote_range_bkg=1 | ||
|class_name=Base.RemoteCraftedV1 | |||
}}<pre> | }}<pre> | ||
{{Infobox normal | {{Infobox normal | ||
|display_name=V1 Remote Controller | |display_name=V1 Remote Controller | ||
|image=RemoteCrafted.png | |image=RemoteCrafted.png | ||
|weight=0.4|weight_bkg=1 | |weight=0.4 | ||
|weight_bkg=1 | |||
|primary_use=Trigger [[:Category:Bomb_and_Throwing_Items|traps]] remotely | |||
|remote_range=7 | |remote_range=7 | ||
|class_name=Base.RemoteCraftedV1 | |remote_range_bkg=1 | ||
|class_name=Base.RemoteCraftedV1 | |||
}}</pre> | }}</pre> |
Revision as of 11:30, 12 June 2018
This is a documentation subpage for Template:Infobox normal.
It contains usage information and other content that is not part of the original template page. |
This template is used to create an infobox in an article about empty water container, medical, drying, remote controller and other miscellaneous items.
Usage
To use this template in an article, copy the template below, then paste the template into an article.
All parameters are optional – those you do not populate with data will not show up in the infobox when the article is saved.
It is strongly advised to only include variables that are relevant to the specific item in question, i.e. parameters that do not display as false or 0.
{{Infobox normal |display_name= |image= |alternate_image= |alternate_name= |alternate_link= |weight=weight |weight_bkg= |primary_use= |primary_use_bkg= |secondary_use= |secondary_use_bkg= |can_store_water= |can_store_water_bkg= |rain_factor= |rain_factor_bkg= |bandage_power= |bandage_power_bkg= |alcohol= |alcohol_bkg= |wet_cooldown= |wet_cooldown_bkg= |remote_range= |remote_range_bkg= |class_name= |class_name_bkg= }}
Parameters
- display_name
- The display name of the item as it appears in-game. Leaving blank will display the pagename.
- image
- An image of the icon displayed at 120px. A 120px variant should be used if it has one.
- alternate_image
- An alternate image displayed at 32px. Can be an empty, packaged, open or any other variant.
- alternate_name
- The name of the alternate item image. Leaving blank will display no name when the image is hovered over.
- alternate_link
- An optional link to the alternate image page. Leaving blank will have no link.
- weight
- The base weight of the item.
- "_bkg" suffix
- Will display a slightly darker background over the row; used for simpler identification between each row. Leavin blank will leave white, whereas inserting anything will give the darkened background. (same for each parameter with _bkg)
- primary_use
- The item's primary use. Can usually be removed if the item isn't considered a tool by the wiki. (remove if value is empty)
- secondary_use
- The item's secondary use if it has one. Can usually be removed if the item isn't considered a tool by the wiki. (remove if value is empty)
- can_store_water
- Whether this item can act as a water container (remove if value is false)
- rain_factor
- The item's rain factor when it's left on the ground while it's raining. (remove if value is empty)
- bandage_power
- The item's bandage power. (remove if value is empty)
- alcohol
- Whether this item is considered to be alcohol and therefore contributing to the drunk moodle. (remove if value is false)
- wet_cooldown
- How long it takes for the item to dry if it's wet. (remove if value is empty)
- remote_range
- The item's maximum range it can trigger a remote trap. (remove if value is empty)
- class_name
- The item's class name.
Examples
Miscellaneous items, displaying the Eraser infobox
Eraser | |
---|---|
Eraser | |
General | |
Category | Item |
Encumbrance | 0.1 |
Function | Remove markings from an annotated map. |
Technical details | |
Base ID | Base.Eraser |
{{Infobox normal |display_name=Eraser |image=Eraser_120px.png |weight=0.1 |weight_bkg=1 |primary_use=Remove markings from an [[Maps|annotated map]]. |class_name=Base.Eraser |class_name_bkg=1 }}
Empty water containers, displaying the Bowl infobox
Bowl | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.5 | |
Function |
Cooking utensil Water container | |
Can store water | True | |
Rain factor | 0.5 | |
Technical details | ||
Base ID | Base.Bowl |
{{Infobox normal |display_name=Bowl |image=Bowl.png |alternate_image=BowlFull_Water.png |alternate_name=Bowl of Water |alternate_link=Bowl of Water |weight=0.5 |weight_bkg=1 |primary_use=[[Cooking]] utensil |secondary_use=[[Water]] container |secondary_use_bkg=1 |can_store_water=True |rain_factor=0.5 |rain_factor_bkg=1 |class_name=Base.Bowl }}
Medical items, displaying the Ripped Sheets infobox
Sterilized Rag | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.05 | |
Function | Bandage bleeding wounds | |
Bandage power | 2 | |
Alcohol | True | |
Technical details | ||
Base ID | Base.AlcoholRippedSheets |
{{Infobox normal |display_name=Sterilized Rag |image=Rag.png |alternate_image=RagDirty.png |alternate_name=Dirty Rag |alternate_link=Dirty Rag |weight=0.05 |weight_bkg=1 |primary_use=[[Health#Bandaging|Bandage]] [[Moodles#Bleeding|bleeding]] [[Health#Types of Injuries|wounds]] |bandage_power=2 |bandage_power_bkg=1 |alcohol=True |class_name=Base.AlcoholRippedSheets |class_name_bkg=1 }}
Drying items, displaying the Bath Towel infobox
Bath Towel | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance |
Dry: 0.1 Wet: 0.5 | |
Function | Dry a wet player | |
Time to dry | 10000 | |
Technical details | ||
Base ID |
Dry: Base.BathTowel Wet: Base.BathTowelWet |
{{Infobox normal |display_name=Bath Towel |image=Bathtowel.png |alternate_image=Bathtowel.png |alternate_name=Wet Bath Towel |alternate_link= |weight='''Dry:''' 0.1<br>'''Wet:''' 0.5 |weight_bkg=1 |primary_use=Dry a [[Moodles#Wet|wet]] player |wet_cooldown=10000 |wet_cooldown_bkg=1 |class_name='''Dry:''' Base.BathTowel<br>'''Wet:''' Base.BathTowelWet }}
Remote Controller infobox
V1 Remote Controller | |
---|---|
General | |
Category | Item |
Encumbrance | 0.4 |
Function | Trigger traps remotely |
Remote range | 7 tiles |
Technical details | |
Base ID | Base.RemoteCraftedV1 |
{{Infobox normal |display_name=V1 Remote Controller |image=RemoteCrafted.png |weight=0.4 |weight_bkg=1 |primary_use=Trigger [[:Category:Bomb_and_Throwing_Items|traps]] remotely |remote_range=7 |remote_range_bkg=1 |class_name=Base.RemoteCraftedV1 }}