Template:5ehid: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(moved db store to Template:StorePageData)
Line 15: Line 15:
</div><!--collapsable-->
</div><!--collapsable-->


</div>{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
</div>{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
_table = Pages_Info
|pagetitle={{PAGENAME}}
|Page_Name = {{FULLPAGENAME}}
|pageid=
|Page_Title = {{PAGENAME}}
|sources={{#if: {{{1|}}}|{{pub|{{{1}}}}}|Varied}}
|Page_Identifier =
|licenses={{#if: {{{licenses|}}}|{{{licenses}}}|Copyrighted}}
|Date_Created =  
|canon={{#if: {{{noncanon|}}}|Null|1|}}<!--blank, true if canon-->
|Setting =
|creationdate=
|Sources = {{#if: {{{1|}}}|{{pub|{{{1}}}}}|}}
|setting=
|Canon = {{#if: {{{noncanon|}}}|Null|1|}}
|pointer=<!--blank, true if pointer-->
|Published = 1
|published=1<!--blank, true if published-->
|Hidden = 1
|hidden=1<!--blank, true if hidden-->
|UA = {{#if: {{{ua|}}}|1}}
|ua={{#if: {{{ua|}}}|1}}<!--blank, true if hidden-->
|Categories = _categories
|user=<!--blank, true if user creation-->
|categories=<!-- NOT CURRENTLY USED list of categories-->
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 18:03, 14 March 2020

This template adds rows to the table "Pages_Info", which is declared by the template Pagestart. View table.

Usage

This should be placed on pages that are hidden.

Syntax

{{5ehid|source}}

Optional fields

noncanon= (true if not canon. ex. UA articles, Kobold Press)
ua= (true if Unearthed Arcana)

produces:


D&D 5e Hidden target=Copyright

foo+
This material is copyrighted. It is hidden from users that have not been verified as having purchased the material.

The Unofficial Description and any notes are licensed CC-BY-SA.

Care should be taken in editing this page.