Template:Hat: Difference between revisions

From Beyond These Stars Official Wiki
Created page with ":''➔ {{{2|Main article}}}: [[{{{1}}}]]'' <noinclude> ===Usage=== <pre> {{Main|Page Name and Section here}} e.g. {{Main|pagename}} {{Main|pagename#section}} </pre> <!-- Arrow options to hardcode: ↪ ➔ --> </noinclude>"
 
m 7 revisions imported
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
:''➔ {{{2|Main article}}}: [[{{{1}}}]]''
:''➔ {{#switch: {{{2|}}}
  | also = See also
  | info = Further information
  | = Main article
  | #default = {{{2}}}
}}: [[{{{1}}}]]''
<noinclude>
<noinclude>
===Usage===
===Usage===
<pre>
<pre>
{{Main|Page Name and Section here}}
{{Hat|Page Name and Section here}}
e.g.
e.g.
{{Main|pagename}}
{{Hat|pagename}}
{{Main|pagename#section}}
{{Hat|pagename#section}}
</pre>
 
<pre>
Adding a final parameter changes the prefix text used
 
| no text, by default = Main article
| also = See also
| info = Further information
 
e.g.
{{Hat|page|also}}
{{Hat|page|info}}
</pre>
</pre>
<!--
<!--
Line 13: Line 30:
➔
➔
-->
-->
[[Category:HH Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:46, 8 September 2026

➔ Main article: [[{{{1}}}]]

Usage

{{Hat|Page Name and Section here}}
e.g.
{{Hat|pagename}}
{{Hat|pagename#section}}
Adding a final parameter changes the prefix text used

| no text, by default = Main article
| also = See also
| info = Further information

e.g.
{{Hat|page|also}}
{{Hat|page|info}}