Template:Item acquisition/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(→‎Parameters: Insert parameter is actually referenced in Item Acquisition Module as "acquisition_insert" updated documentation to reflect. Reference should probably be changed to insert in module, but due to my unfamiliarity with MediaWiki system and newness here, don't want to play around with modules/templates themselves)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:Item acquisition}}
 
{{Lua|Module:Item acquisition}}


==Overview==
==Overview==
Line 11: Line 12:
! Parameter
! Parameter
! Value
! Value
! Descriptio
! Description
|-
|-
| page
| page
| str
| str
| Name of the wiki page to scan for acquisition methods.
| Name of the wiki page to scan for acquisition methods.
By default, this is the page the template is placd on.
By default, this is the page the template is placed on.
|-
|-
| insert
| acquisition_insert
| str
| str
| Insert the given string into the item acquisition section on the page.
| Insert the given string into the item acquisition section on the page.
Line 24: Line 25:
| no_link
| no_link
| any
| any
| If given, item links using {{tlx|Item link}} will be suppressed from being created. This if the default behavior of the number of item links created would exceed a certain value.
| If given, item links using {{tlx|Item link}} will be suppressed from being created. This is the default behavior if the number of item links created would exceed a certain value.
|}
|}


Line 30: Line 31:
* [[Path of Exile Wiki:How to edit item acquisition|How to edit item acquisition]]
* [[Path of Exile Wiki:How to edit item acquisition|How to edit item acquisition]]


<includeonly>
{{Documentation categories|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Categories and interwikis go here. -->
[[Category:SMW result formatting templates]]
[[Category:Result formatting templates]]
</includeonly>
[[de:Vorlage:Item acquisition]]
}}

Latest revision as of 20:04, 25 September 2021

This subpage provides documentation for Template:Item acquisition.

Lua logo

This template uses the following modules:

Overview

This template creates an section containing information about how to acquire the item into the page by querying drop information specified in the {{Item}} template. It also scans if the item used in relevant recipes.

Parameters

All parameters are optional

Parameter Value Description
page str Name of the wiki page to scan for acquisition methods.

By default, this is the page the template is placed on.

acquisition_insert str Insert the given string into the item acquisition section on the page.
no_link any If given, item links using {{Item link}} will be suppressed from being created. This is the default behavior if the number of item links created would exceed a certain value.

See also