Template:Infobox/Itembrowser: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(change from no-longer-maintained item browser to Hitchhiker's Guide. also 'name' defaults to 'id') |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span style="font-size:0.7em;"> | <includeonly><span style="font-size:0.7em;"> | ||
[[Guides| | [[Guides|{{{header_name|Hitchhiker's Guide}}}]]:<br/> | ||
Stable - [ [ | Stable (0.F-3) - [ [https://nornagon.github.io/cdda-guide/?v=0.F-3#/item/{{{id|}}} {{{name|{{{id}}}}}}] ]<br/> | ||
Experimental - [ [ | Experimental - [ [https://nornagon.github.io/cdda-guide/#/item/{{{id|}}} {{{name|{{{id}}}}}}] ]</span></includeonly><noinclude> | ||
Helper template for the various infoboxes, creates | Helper template for the various infoboxes, creates links to an item in the [https://nornagon.github.io/cdda-guide/# Hitchhiker's Guide to the Cataclysm], for 0.F-3 and the latest experimental. When new stable versions come out, please update the stable link and label. | ||
== Arguments == | == Arguments == | ||
* id - required - The ID of the object in the | * id - required - The ID of the object in the Hitchhiker's Guide, which is the same as the ID in CDDA's code. | ||
* name - optional - The name of the object. Changes the link description of the item | * name - optional - The name of the object. Changes the link description of the item, if not set, defaults to the 'id' parameter above. | ||
* header_name - Optional - The name of the link to [[guides]], defaults to 'Hitchhiker's Guide'. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:44, 6 August 2022
Helper template for the various infoboxes, creates links to an item in the Hitchhiker's Guide to the Cataclysm, for 0.F-3 and the latest experimental. When new stable versions come out, please update the stable link and label.
Arguments
- id - required - The ID of the object in the Hitchhiker's Guide, which is the same as the ID in CDDA's code.
- name - optional - The name of the object. Changes the link description of the item, if not set, defaults to the 'id' parameter above.
- header_name - Optional - The name of the link to guides, defaults to 'Hitchhiker's Guide'.