Template:Get-field/doc

From 7 Days to Die Wiki
Jump to: navigation, search
Template-info.png Documentation


This template is designed to return values that have been defined in other pages infoboxes. It is currently only set up for Infobox Items.

Parameters[edit source]

The parameters for this template are mostly positional.

Parameter Legal Values Description Auto-links
1st The name of the page that contains the field that is to be returned. Y
2nd The name of the field on that page that will be returned. Y
ref If ref exists then the template will also return a link to the page.
If ref is equal to Silent the link will come from the value, but no extra reference will be displayed.
If ref is equal to numeric the link will come the text following, but not from the number itself, to enable operations on the value.
Y
def If defined this value will be used as the return value if no value is found. Generally used to make expressions work without error. N

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.