Template:5ehid: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<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}}
{{#cargo_attach:
</div>
_table = Pages_Info
<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>'''
}}
</noinclude><includeonly>{{pagetitle}}<div style="width:100%; border: collapse; text-align:right;">
{{5e}} [[Hidden]][[Category:5e Hidden]] <span style="background:#fc3; font-size:1.1em;">[[File:Copyright.svg|15px|target=Copyright]]</span>
</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 class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
<div style="font-size: 0.7em;">This material is copyrighted. It is hidden from users that have not been verified as having purchased the material.<br />
<div style="font-size: 0.7em;">This material is copyrighted. It is hidden from users that have not been verified as having purchased the material.<br />
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: {{{1|}}}|[[Author::{{{1}}}| ]]<!--[[Publication::{{{1}}}| ]]-->|}}{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]][[Canon::true| ]]}}
[[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-->|{{#cargo_store:
{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
_table = Pages_Info
|pagetitle={{PAGENAME}}
|Page_Name = {{FULLPAGENAME}}
|sources={{#if: {{{1|}}}|{{{1}}}|Varied}}
|Page_Title = {{PAGENAME}}
|licenses={{#if: {{{licenses|}}}|{{{licenses}}}|Copyrighted}}
|Page_Identifier =  
|canon={{#if: {{{noncanon|}}}|<!--skip-->|true|}}
|Date_Created =
|creationdate={{#if: {{{1|}}}|{{#cargo_query:
|Setting =
  table=Publicaiton
|Sources = {{#if: {{{1|}}}|{{pub|{{{1}}}}}|}}
  |where=_pageName='[[Publication:{{{1}}}]]'
|Canon = {{#if: {{{noncanon|}}}|Null|1|}}
  |fields=Date_Created
|Published = 1
  }}|}}
|Hidden = 1
|setting={{#if: {{{setting|}}}|{{{setting}}}|}}
|UA = {{#if: {{{ua|}}}|1}}
|pointer=
|Categories = _categories
|published=true
|hidden=true
|ua={{#if: {{{ua|}}}|true|}}
|user=
|deprecated={{#if: {{{deprecated|}}}|true|}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
==Usage==
==Usage==
Line 36: 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 07: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