Difference between pages "Template:Hatnote inline" and "Template:Hatnote inline/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (21 revisions imported)
 
m (7 revisions imported)
 
Line 1: Line 1:
{{Hatnote inline/invoke|1={{{1|{{{text|{{{content}}}}}}}}}|extraclasses={{{class|{{{extraclasses|}}}}}}|selfref={{#if:{{{printworthy|{{{selfref|}}}}}}||yes}}|category={{{category|}}}|inline=true}}<noinclude>
+
<includeonly>{{Hatnote inline/invoke/sandbox|1={{{1|{{{text|{{{content|}}}}}}}}}|extraclasses={{{class|{{{extraclasses|}}}}}}|selfref={{#if:{{{printworthy|{{{selfref|}}}}}}||yes}}|category={{{category|}}}|inline=true}}</includeonly><noinclude>
 +
 
 +
;Test {{para|selfref|no}}:
 +
Foo1 {{hatnote inline/sandbox|selfref=no|bar1}} baz1
 +
 
 +
;Test {{para|printworthy|yes}}:
 +
Foo2 {{hatnote inline/sandbox|printworthy=yes|bar2}} baz2
 +
 
 +
;Test default to selfref:
 +
Foo3 {{hatnote inline/sandbox|bar3}} baz3
 +
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>