Template:Pantheon/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "{{documentation subpage}} {{lua|Module:Monster}} __TOC__ Stores pantheon data. ==Cargo== {{Subpages}} <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> Categor...")
 
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:Monster}}
 
{{Lua|Module:Pantheon}}
__TOC__
__TOC__
Stores pantheon data.
This template creates a pantheon table. The data is stored by the sub templates.
 
The pantheon data exists in three separate submodules:
 
https://www.poewiki.net/wiki/Module:Pantheon/pantheon
 
https://www.poewiki.net/wiki/Module:Pantheon/pantheon_souls
 
https://www.poewiki.net/wiki/Module:Pantheon/pantheon_stats
 
This code is generated from a PyPoE export. You can edit it manually, but it's not recommended.
 
In order to see any changes, it's necessary to save the pages that write rows to the Cargo tables. Doing a null edit on these pages will rebuild the Cargo tables:
 
https://www.poewiki.net/wiki/Template:Pantheon/cargo/pantheon/store_data_1
 
https://www.poewiki.net/wiki/Template:Pantheon/cargo/pantheon_souls/store_data_1
 
https://www.poewiki.net/wiki/Template:Pantheon/cargo/pantheon_stats/store_data_1
 
Lastly, on the pantheon page (e.g. https://www.poewiki.net/wiki/Soul_of_Abberath ) mouse over "more" in the top right and click purge cache.
 
==Parameters==
{| class="wikitable sortable"
| Parameter
| Type
| Description
|-
| q_where
| str
| Where portion of the cargo query to restrict the results.
The following tables can be used freely:
 
* pantheon
* pantheon_souls
* areas
|}
 
==Examples==
<pre>{{Pantheon
|q_where=pantheon.id="Yugul"
}}</pre>
Yields:
{{Pantheon
|q_where=pantheon.id="Yugul"
}}


==Cargo==
==Cargo==
{{Subpages}}
{| class="wikitable"
! Table !! Declared by !! Attached by
|-
| [[Special:CargoTables/pantheon_souls|pantheon_souls]]
| {{tl|Pantheon/cargo/pantheon souls/declare}}
| {{tl|Pantheon/cargo/pantheon souls/attach}}
|-
| [[Special:CargoTables/pantheon_stats|pantheon_stats]]
| {{tl|Pantheon/cargo/pantheon stats/declare}}
| {{tl|Pantheon/cargo/pantheon stats/attach}}
|-
| [[Special:CargoTables/pantheon|pantheon]]
| {{tl|Pantheon/cargo/pantheon/declare}}
| {{tl|Pantheon/cargo/pantheon/attach}}
|}


<includeonly>
{{Documentation categories|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Categories and interwikis go here. -->
[[Category:Data templates]]
[[Category:Data templates]]
</includeonly>
}}

Latest revision as of 18:43, 29 December 2022

This subpage provides documentation for Template:Pantheon.

Lua logo

This template uses the following modules:

This template creates a pantheon table. The data is stored by the sub templates.

The pantheon data exists in three separate submodules:

https://www.poewiki.net/wiki/Module:Pantheon/pantheon

https://www.poewiki.net/wiki/Module:Pantheon/pantheon_souls

https://www.poewiki.net/wiki/Module:Pantheon/pantheon_stats

This code is generated from a PyPoE export. You can edit it manually, but it's not recommended.

In order to see any changes, it's necessary to save the pages that write rows to the Cargo tables. Doing a null edit on these pages will rebuild the Cargo tables:

https://www.poewiki.net/wiki/Template:Pantheon/cargo/pantheon/store_data_1

https://www.poewiki.net/wiki/Template:Pantheon/cargo/pantheon_souls/store_data_1

https://www.poewiki.net/wiki/Template:Pantheon/cargo/pantheon_stats/store_data_1

Lastly, on the pantheon page (e.g. https://www.poewiki.net/wiki/Soul_of_Abberath ) mouse over "more" in the top right and click purge cache.

Parameters

Parameter Type Description
q_where str Where portion of the cargo query to restrict the results.

The following tables can be used freely:

  • pantheon
  • pantheon_souls
  • areas

Examples

{{Pantheon
|q_where=pantheon.id="Yugul"
}}

Yields:

IconNameEffect(s)Upgrade
Soul of YugulYou and your Minions take 50% reduced Reflected Damage
50% chance to Reflect Hexes
Capture Sallazzang in Gardens Map
30% reduced Effect of Curses on you

Cargo

Table Declared by Attached by
pantheon_souls {{Pantheon/cargo/pantheon souls/declare}} {{Pantheon/cargo/pantheon souls/attach}}
pantheon_stats {{Pantheon/cargo/pantheon stats/declare}} {{Pantheon/cargo/pantheon stats/attach}}
pantheon {{Pantheon/cargo/pantheon/declare}} {{Pantheon/cargo/pantheon/attach}}