Template:StorePageData: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (testing) |
||
Line 30: | Line 30: | ||
|User = {{#if: {{{user|}}}|1|0}} | |User = {{#if: {{{user|}}}|1|0}} | ||
|Categories = {{{categories|}}} | |Categories = {{{categories|}}} | ||
}}}}</includeonly><noinclude> | }}}} | ||
************* StorePageData — Canon: {{#if: {{{canon|}}}|1|0}} | |||
</includeonly><noinclude> | |||
==Use== | ==Use== | ||
Stores data into Cargo table 'Page_Info'. | Stores data into Cargo table 'Page_Info'. |
Revision as of 06:03, 6 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--> }}
- StorePageData — Canon: 0