Template:StorePageData: Difference between revisions
Jump to navigation
Jump to search
(testing) |
(removed testing) |
||
Line 30: | Line 30: | ||
|User = {{#if: {{{user|}}}|1|0}} | |User = {{#if: {{{user|}}}|1|0}} | ||
|Categories = {{{categories|}}} | |Categories = {{{categories|}}} | ||
}}}}<!-- testing | }}}}<!-- testing | ||
Canon: {{#if: {{{canon|}}}|1|0}}, Pointer: {{#if: {{{pointer|}}}|1|0}}, Hidden: {{#if: {{{hidden|}}}|1|0}}</includeonly><noinclude> | Canon: {{#if: {{{canon|}}}|1|0}}, Pointer: {{#if: {{{pointer|}}}|1|0}}, Hidden: {{#if: {{{hidden|}}}|1|0}} --></includeonly><noinclude> | ||
==Use== | ==Use== | ||
Stores data into Cargo table 'Page_Info'. | Stores data into Cargo table 'Page_Info'. |
Revision as of 10:38, 14 May 2020
This template adds rows to the table "Pages_Info", which is declared by the template Pagestart. View table.
Use
Stores data into Cargo table 'Page_Info'.
Syntax
{{StorePageData |pagetitle= |sources= |licenses= |creationdate= |setting= |canon=<!--blank, true if canon--> |pointer=<!--blank, true if pointer--> |published=<!--blank, true if published--> |hidden=<!--blank, true if hidden--> |ua=<!--blank, true if hidden--> |user=<!--blank, true if user creation--> |categories=<!-- NOT CURRENTLY USED list of categories--> }}
Example
{{StorePageData |pagetitle=Foo |sources=Foo's Guide to Barbarism |licenses=Bar |creationdate= |setting= |canon=true<!--blank, true if canon--> |pointer=<!--blank, true if pointer--> |published=<!--blank, true if published--> |hidden=<!--blank, true if hidden--> |ua=<!--blank, true if hidden--> |user=<!--blank, true if user creation--> |categories=<!-- NOT CURRENTLY USED list of categories--> }}