Hatnote – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (lineReturn--)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{subst:#if:{{{1|}}}|<div class="dablink">{{{1}}}</div>|}}</includeonly><noinclude>
<includeonly><div class="dablink">ⓘ ''{{{1|-no text defined-}}}''</div>
===Usage===
----</includeonly><noinclude>
Place {{Inline code|<nowiki>{{Hatnote|This page is about Arma 2 functionality. For similar functionality in Arma 3, see [[This page]].}}</nowiki>}} at the top of a page, and the result will look a little like this (assume the next horizontal line is the top of a real page):
== Usage ==
<br>
{{<nowiki/>Hatnote|'''''message'''''}}
<br>
* message: text to be displayed
<br>
<br>
----


<div class="dablink">This page is about Arma 2 functionality. For similar functionality in Arma 3, see [[This page]].</div>
{| class="wikitable"
 
|+ Examples
{{Lorem}}
! Code
 
! Result
==Main heading==
|-
 
| <nowiki>{{Hatnote}}</nowiki>
{{Lorem}}
| {{Hatnote}}
 
|-
etc...
| <nowiki>{{Hatnote|This page is about {{arma2}}. For similar functionality in {{arma3}}, see [[addAction]].}}</nowiki>
| {{Hatnote|This page is about {{arma2}}. For similar functionality in {{arma3}}, see [[addAction]].}}
|}


[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Latest revision as of 14:23, 10 December 2020

Usage

{{Hatnote|message}}

  • message: text to be displayed
Examples
Code Result
{{Hatnote}}
{{Hatnote|This page is about {{arma2}}. For similar functionality in {{arma3}}, see [[addAction]].}}