Template:StorePageData: Difference between revisions
Jump to navigation
Jump to search
(removed testing) |
No edit summary |
||
Line 13: | Line 13: | ||
|Published = Boolean | |Published = Boolean | ||
|Hidden = Boolean | |Hidden = Boolean | ||
|Deprecated = Boolean | |||
|UA = Boolean | |UA = Boolean | ||
|User = Boolean | |User = Boolean | ||
Line 27: | Line 28: | ||
|Published = {{#if: {{{published|}}}|1|0}} | |Published = {{#if: {{{published|}}}|1|0}} | ||
|Hidden = {{#if: {{{hidden|}}}|1|0}} | |Hidden = {{#if: {{{hidden|}}}|1|0}} | ||
|Deprecated = {{#if: {{{deprecated|}}}|1|0}} | |||
|UA = {{#if: {{{ua|}}}|1|0}} | |UA = {{#if: {{{ua|}}}|1|0}} | ||
|User = {{#if: {{{user|}}}|1|0}} | |User = {{#if: {{{user|}}}|1|0}} | ||
Line 46: | Line 48: | ||
|published=<!--blank, true if published--> | |published=<!--blank, true if published--> | ||
|hidden=<!--blank, true if hidden--> | |hidden=<!--blank, true if hidden--> | ||
|deprecated=<!--blank, true if deprecated--> | |||
|ua=<!--blank, true if hidden--> | |ua=<!--blank, true if hidden--> | ||
|user=<!--blank, true if user creation--> | |user=<!--blank, true if user creation--> | ||
Line 63: | Line 66: | ||
|published=<!--blank, true if published--> | |published=<!--blank, true if published--> | ||
|hidden=<!--blank, true if hidden--> | |hidden=<!--blank, true if hidden--> | ||
|deprecated=<!--blank, true if deprecated--> | |||
|ua=<!--blank, true if hidden--> | |ua=<!--blank, true if hidden--> | ||
|user=<!--blank, true if user creation--> | |user=<!--blank, true if user creation--> | ||
Line 78: | Line 82: | ||
|published=<!--blank, true if published--> | |published=<!--blank, true if published--> | ||
|hidden=<!--blank, true if hidden--> | |hidden=<!--blank, true if hidden--> | ||
|deprecated=<!--blank, true if deprecated--> | |||
|ua=<!--blank, true if hidden--> | |ua=<!--blank, true if hidden--> | ||
|user=<!--blank, true if user creation--> | |user=<!--blank, true if user creation--> |
Revision as of 12:30, 5 August 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--> |deprecated=<!--blank, true if deprecated--> |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--> |deprecated=<!--blank, true if deprecated--> |ua=<!--blank, true if hidden--> |user=<!--blank, true if user creation--> |categories=<!-- NOT CURRENTLY USED list of categories--> }}