Template:5epointer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(moved db store to Template:StorePageData) |
||
Line 14: | Line 14: | ||
[[Category:Copyrighted]][[Category:5e]]{{#if: {{{1|}}}|[[Author::{{{1}}}| ]]<!--[[Publication::{{{1}}}| ]]-->|}}{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]][[Canon::true| ]]}}[[Category:Fair Use]][[Category:5e Pointers]] | [[Category:Copyrighted]][[Category:5e]]{{#if: {{{1|}}}|[[Author::{{{1}}}| ]]<!--[[Publication::{{{1}}}| ]]-->|}}{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]][[Canon::true| ]]}}[[Category:Fair Use]][[Category:5e Pointers]] | ||
</div><!--collapsable--> | </div><!--collapsable--> | ||
</div>{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | </div>{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData | ||
|pagetitle={{PAGENAME}} | |||
|pageid= | |||
|sources={{#if: {{{1|}}}|{{pub|{{{1}}}}}|}} | |||
|licenses={{#if: {{{license|}}}|[[{{{license}}}]]|Fair Use|}} | |||
|canon={{#if: {{{noncanon|}}}|Null|1|}} | |||
|creationdate= | |||
|setting={{{setting|}}} | |||
|pointer=1<!--blank, true if pointer--> | |||
|published=1<!--blank, true if published--> | |||
|hidden=<!--blank, true if hidden--> | |||
|ua={{#if: {{{ua|}}}|1}}<!--blank, true if hidden--> | |||
|user=<!--blank, true if user creation--> | |||
|categories=<!-- NOT CURRENTLY USED list of categories--> | |||
}}<!-- | |||
--MOVED DATA STORE TO [[Template:StorePageData]] | |||
{{#cargo_store: | |||
_table = Pages_Info | _table = Pages_Info | ||
|Page_Name = {{FULLPAGENAME}} | |Page_Name = {{FULLPAGENAME}} | ||
Line 28: | Line 44: | ||
|UA = {{#if: {{{ua|}}}|1}} | |UA = {{#if: {{{ua|}}}|1}} | ||
|Categories = _categories | |Categories = _categories | ||
}}}} | }}-->}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 16:31, 14 March 2020
This template adds rows to the table "Pages_Info", which is declared by the template Pagestart. View table.
Usage
This should be placed on pages that are pointers.
Syntax
{{5epointer|source}}
Optional fields
|license= (blank for [[Fair Use]], OGL, etc.)<br /> |noncanon= (blank, true if not canon. ex. UA articles, [[Kobold Press]])<br /> |ua= (blank, true if Unearthed Arcana)
produces: