Template:StorePageData: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
m (testing)
(removed testing)
Line 30: Line 30:
|User = {{#if: {{{user|}}}|1|0}}
|User = {{#if: {{{user|}}}|1|0}}
|Categories = {{{categories|}}}
|Categories = {{{categories|}}}
}}}}
}}}}</includeonly><noinclude>
<br />
<hr />
Canon={{{canon|}}} - {{#if: {{{canon|}}}|1|0}}<br />
Pointer={{{pointer|}}} - {{#if: {{{pointer|}}}|1|0}}<br />
Hidden={{{hidden|}}} - {{#if: {{{hidden|}}}|1|0}}<br />
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 14:17, 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-->
}}