Template:5eh: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#if:{{{3|}}}|[[gmw:5e:{{{1}}}{{!}}{{{2}}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[gmw:5e:{{{1}}}{{!}}{{{2}}}]]|[[gmw:5e:{{{1}}}|{{{1}}}]]}}}}</includeonly><noinclude>
{{#cargo_attach:
==Use==
_table = Page_Info
This is a quick template to make links to 5eh pages easier.
}}
</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 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 />
Care should be taken in editing this page.</div>
<div style="font-size: 0.7em; text-align:right;">[[5e:{{PAGENAME}}|Pointer &rarr;]]</div>
[[Category:Copyrighted]][[Category:5e]]{{#if: {{{1|}}}|[[Author::{{{1}}}| ]]<!--[[Publication::{{{1}}}| ]]-->|}}{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]][[Canon::true| ]]}}
</div><!--collapsable-->


</div>{{pagetitle}}{{#cargo_store:
==Syntax==
_table = Page_Info
===5th hidden with only LinkText===
|Page_Name = _pageName
'''<nowiki>{{5eh|LinkText}}</nowiki>'''
|Page_Title = {{PAGENAME}}
 
|Page_Identifier = _pageID
''produces:''
|Date_Created =  
 
|Setting =  
{{5eh|LinkText}}
|Sources = {{#if: {{{1|}}}|{{pub|{{{1}}}}}|}}
|Canon = {{#if: {{{noncanon|}}}|Null|1|}}
}}</includeonly><noinclude>
==Usage==
This should be placed on pages that are hidden.


==Syntax==
===5th hidden with LinkText===
<pre>{{5eh|source}}</pre>
'''<nowiki>{{5eh|LinkText|DisplayText}}</nowiki>'''
 
''produces:''
 
{{5eh|LinkText|DisplayText}}
 
===5th hidden with LinkText and Property===
'''<nowiki>{{5eh|LinkText|DisplayText|PropertyName}}</nowiki>'''


===Optional fields===
''produces:''
noncanon= (true if not canon. ex. UA articles, [[Kobold Press]])


produces:
{{5eh|LinkText|DisplayText|PropertyName}}


{{5eh|foo}}
{{navboxes}}


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

Latest revision as of 14:27, 8 April 2021

Use

This is a quick template to make links to 5eh pages easier.

Syntax

5th hidden with only LinkText

{{5eh|LinkText}}

produces:

LinkText

5th hidden with LinkText

{{5eh|LinkText|DisplayText}}

produces:

DisplayText

5th hidden with LinkText and Property

{{5eh|LinkText|DisplayText|PropertyName}}

produces:

DisplayText


No results