Template:StorePageData: Difference between revisions

From Rlyehwiki
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>
}}}}
<br />
<hr />
Canon={{#if: {{{canon|}}}|1|0}}<br />
Pointer={{#if: {{{pointer|}}}|1|0}}<br />
Hidden={{#if: {{{hidden|}}}|1|0}}<br />
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:10, 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