Template:5ehid: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{pagetitle}}<div style="width:100%; border: collapse; text-align:right;">
<includeonly><div style="width:100%; border: collapse; text-align:right;">{{pagetitle}}<span style="background:#cf9;">[[Dungeons & Dragons|D&D]]</span>&nbsp;<span style="background:#cf9;">[[5e]]</span> [[Hidden]][[Category:5eh]] <span style="background:#fc3; font-size:1.1em;">[[File:Copyright.svg|15px|target=Copyright]]</span>{{Not5eh}}
{{5e}} [[Hidden]][[Category:5e Hidden]] <span style="background:#fc3; font-size:1.1em;">[[File:Copyright.svg|15px|target=Copyright]]</span>
</div>
</div>[[Category:Copyright]][[Category:5e]]
<div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;">'''<span style="font-size: 0.9em;">{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources below''|}} </span><span class="mw-customtoggle-myDivision"><sup>+</sup></span>'''
<div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;">'''<span style="font-size: 0.9em;">{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources below''|}} </span><span class="mw-customtoggle-myDivision"><sup>+</sup></span>'''
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
Line 7: Line 6:
The Unofficial Description and any notes are licensed [[CC-BY-SA]].<br />
The Unofficial Description and any notes are licensed [[CC-BY-SA]].<br />
Care should be taken in editing this page.</div>
Care should be taken in editing this page.</div>
<div style="font-size: 0.7em; text-align:right;">[[5e:{{PAGENAME}}|Pointer &rarr;]]</div>
<div style="font-size: 0.7em; text-align:right;">[[5e:{{PAGENAME}}|Hidden &rarr;]]</div>
[[Category:Copyrighted]][[Category:5e]]{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]]}}
[[Category:Copyrighted]]{{#if: {{{noncanon|}}}|[[Category:5eh Published Noncanon]]|[[Category:Canon]]}}
</div><!--collapsable-->
</div><!--collapsable-->
 
</div>{{#if: {{{setting|}}}|<br clear="right" />{{5e Setting|{{{setting}}}}}|}}{{#if: {{{ua|}}}|<br clear="right" /><div style="display:block; float:right; background: MistyRose; border-style: solid; border-width: 2px; border-color: MistyRose; border-radius: 0.5em;">'''&nbsp;{{5ed|Unearthed Arcana}}'''&nbsp;</div>|}}
</div>{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
|pagetitle={{PAGENAME}}
|pagetitle={{PAGENAME}}
|pageid=
|sources={{#if: {{{1|}}}|{{{1}}}|Varied}}
|sources={{#if: {{{1|}}}|{{pub|{{{1}}}}}|Varied}}
|licenses={{#if: {{{licenses|}}}|{{{licenses}}}|Copyrighted}}
|licenses={{#if: {{{licenses|}}}|{{{licenses}}}|Copyrighted}}
|canon={{#if: {{{noncanon|}}}|Null|1|}}<!--blank, true if canon-->
|canon={{#if: {{{noncanon|}}}|<!--skip-->|true|}}
|creationdate=
|creationdate={{#if: {{{1|}}}|{{#cargo_query:
|setting=  
  table=Publicaiton
|pointer=<!--blank, true if pointer-->
  |where=_pageName='[[Publication:{{{1}}}]]'
|published=1<!--blank, true if published-->
  |fields=Date_Created
|hidden=1<!--blank, true if hidden-->
  }}|}}
|ua={{#if: {{{ua|}}}|1}}<!--blank, true if hidden-->
|setting={{#if: {{{setting|}}}|{{{setting}}}|}}
|user=<!--blank, true if user creation-->
|pointer=
|categories=<!-- NOT CURRENTLY USED list of categories-->
|published=true
|hidden=true
|ua={{#if: {{{ua|}}}|true|}}
|user=
|deprecated={{#if: {{{deprecated|}}}|true|}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
==Usage==
==Usage==
Line 33: Line 35:


===Optional fields===
===Optional fields===
noncanon= (true if not canon. ex. UA articles, [[Kobold Press]])<br />
<pre>
ua= (true if Unearthed Arcana)
|deprecated= <!--blank, or true-->
|noncanon= <!--blank, or true if not canon. ex. UA articles, [[Kobold Press]])-->
|setting= <!--blank, or setting name-->
|ua= <!--blank, or true if Unearthed Arcana-->
</pre>


produces:
produces:


{{5ehid|foo|nodb=true}}
{{5ehid|foo|nodb=true|ua=true}}


[[Category:5e Templates]]
[[Category:5eh Templates]]
[[Category:System Tags]]
[[Category:System Tags]]
</noinclude>
</noinclude>

Latest revision as of 08:23, 18 March 2021

Usage

This should be placed on pages that are hidden.

Syntax

{{5ehid|source}}

Optional fields

|deprecated= <!--blank, or true-->
|noncanon= <!--blank, or true if not canon. ex. UA articles, [[Kobold Press]])-->
|setting= <!--blank, or setting name-->
|ua= <!--blank, or 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.


 Unearthed Arcana