Template:StorePageData: Difference between revisions
Jump to navigation
Jump to search
m (testing) |
m (testing) |
||
| Line 33: | Line 33: | ||
<br /> | <br /> | ||
<hr /> | <hr /> | ||
Canon={{#if: {{{canon|}}}|1|0}}<br /> | Canon={{{canon|}}} - {{#if: {{{canon|}}}|1|0}}<br /> | ||
Pointer={{#if: {{{pointer|}}}|1|0}}<br /> | Pointer={{{pointer|}}} - {{#if: {{{pointer|}}}|1|0}}<br /> | ||
Hidden={{#if: {{{hidden|}}}|1|0}}<br /> | Hidden={{{hidden|}}} - {{#if: {{{hidden|}}}|1|0}}<br /> | ||
User= {{#if: {{{user|}}}|1|0}}<br /></includeonly><noinclude> | User={{{user|}}} - {{#if: {{{user|}}}|1|0}}<br /></includeonly><noinclude> | ||
==Use== | ==Use== | ||
Stores data into Cargo table 'Page_Info'. | Stores data into Cargo table 'Page_Info'. | ||
Revision as of 13:13, 11 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-->
}}
Canon= - 0
Pointer= - 0
Hidden= - 0
User= - 0