Editing Template:Infobox Map/doc
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
| foodtype = <!-- Type of food the first checkpoint gives. --> | | foodtype = <!-- Type of food the first checkpoint gives. --> | ||
| foodamount = <!-- Amount of food given. --> | | foodamount = <!-- Amount of food given. --> | ||
− | |||
| description = <!-- Description social sharing should output. --> | | description = <!-- Description social sharing should output. --> | ||
}}</pre> | }}</pre> | ||
Line 30: | Line 29: | ||
*''foodtype'' – type of food the map gives. Not required. Default is '''None'''. | *''foodtype'' – type of food the map gives. Not required. Default is '''None'''. | ||
*''foodamount'' – amount of food the map gives. Not required. Default is '''64'''. | *''foodamount'' – amount of food the map gives. Not required. Default is '''64'''. | ||
− | |||
*''description'' – description of the map. Used in SEO and social media cards. | *''description'' – description of the map. Used in SEO and social media cards. | ||
==Examples== | ==Examples== | ||
An infobox with all arguments present. | An infobox with all arguments present. | ||
− | *{{tlx|Infobox_Map |name{{=}}Example | + | *{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} FFA-c-xxx |creators {{=}} One, Two |foodtype {{=}} Cooked Salmon |foodamount {{=}} 64 |description {{=}} This is a description. }} |
− | |points{{=}}1 | ||
− | |location {{=}} FFA | ||
− | |mapcode {{=}} xxx | ||
− | |creators {{=}} One, Two | ||
− | |foodtype {{=}} Cooked Salmon |foodamount {{=}} 64 | ||
− | |||
{{Infobox_Map | {{Infobox_Map | ||
|name = Example | |name = Example | ||
| points = 1 | | points = 1 | ||
| location = FFA | | location = FFA | ||
− | | mapcode = xxx | + | | mapcode = FFA-c-xxx |
| creators = One, Two | | creators = One, Two | ||
| foodtype = Cooked Salmon | | foodtype = Cooked Salmon | ||
| foodamount = 64 | | foodamount = 64 | ||
− | |||
| description = This is a description. | | description = This is a description. | ||
}} | }} | ||
An infobox without the food parameters. | An infobox without the food parameters. | ||
− | *{{tlx|Infobox_Map |name{{=}}Example | + | *{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} FFA-c-xxx |creators {{=}} One, Two |description {{=}} This is a description. }} |
− | |points{{=}}1 | ||
− | |location {{=}} FFA | ||
− | |mapcode {{=}} xxx | ||
− | |creators {{=}} One, Two | ||
− | |description {{=}} This is a description. }} | ||
{{Infobox_Map | {{Infobox_Map | ||
| name = Example | | name = Example | ||
| points = 1 | | points = 1 | ||
| location = FFA | | location = FFA | ||
− | | mapcode = xxx | + | | mapcode = FFA-c-xxx |
| creators = One, Two | | creators = One, Two | ||
− | |||
| description = This is a description. | | description = This is a description. | ||
}} | }} | ||
An infobox with one creator. | An infobox with one creator. | ||
− | *{{tlx|Infobox_Map |name{{=}}Example | + | *{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} FFA-c-xxx |creators {{=}} One |description {{=}} This is a description. }} |
− | |points{{=}}1 | ||
− | |location {{=}} FFA | ||
− | |mapcode {{=}} xxx | ||
− | |creators {{=}} One | ||
− | |||
{{Infobox_Map | {{Infobox_Map | ||
| name = Example | | name = Example | ||
| points = 1 | | points = 1 | ||
| location = FFA | | location = FFA | ||
− | | mapcode = xxx | + | | mapcode = FFA-c-xxx |
| creators = One | | creators = One | ||
− | |||
| description = This is a description. | | description = This is a description. | ||
}} | }} | ||
An infobox with a specified difficulty field. | An infobox with a specified difficulty field. | ||
− | *{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} xxx |difficulty {{=}} Hard|creators {{=}} One | + | *{{tlx|Infobox_Map |name{{=}}Example |points{{=}}1|location {{=}} FFA |mapcode {{=}} FFA-c-xxx |difficulty {{=}} Hard|creators {{=}} One |description {{=}} This is a description. }} |
{{Infobox_Map | {{Infobox_Map | ||
| name = Example | | name = Example | ||
Line 95: | Line 74: | ||
| difficulty = Hard | | difficulty = Hard | ||
| location = FFA | | location = FFA | ||
− | | mapcode = xxx | + | | mapcode = FFA-c-xxx |
| creators = One | | creators = One | ||
− | |||
| description = This is a description. | | description = This is a description. | ||
}} | }} |