Template:5ehid: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="width:100%; border: collapse; text-align:right;">{{pagetitle}}{{5e}} [[Hidden]][[Category:5e Hidden]] <span style="background:#fc3; font-size:1.1em;">[[File:Copyright.svg|15px|target=Copyright]]</span>{{Not5eh}}
<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}}
</div>[[Category:Copyright]][[Category:5e]][[Category:5e Hidden]]
</div>
<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 7:
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}}|Hidden &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: {{{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>|}}
Line 26: Line 26:
|ua={{#if: {{{ua|}}}|true|}}
|ua={{#if: {{{ua|}}}|true|}}
|user=
|user=
|deprecated={{#if: {{{deprecated|}}}|true|}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
==Usage==
==Usage==
Line 35: Line 36:
===Optional fields===
===Optional fields===
<pre>
<pre>
|deprecated= <!--blank, or true-->
|noncanon= <!--blank, or true if not canon. ex. UA articles, [[Kobold Press]])-->
|noncanon= <!--blank, or true if not canon. ex. UA articles, [[Kobold Press]])-->
|setting= <!--blank, or setting name-->
|setting= <!--blank, or setting name-->
Line 44: Line 46:
{{5ehid|foo|nodb=true|ua=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