Difference between revisions of "Template:~"

From Hackerspace ACKspace
Jump to: navigation, search
m (have to be careful with newlines when using it in numbered list or the like)
m (removed newlines, added some extra info)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="border-top:1px solid" title="logic inverse of {{{1}}}">{{{1}}}</span><noinclude>
+
<includeonly><span style="border-top:1px solid" title="logic inverse of {{{1}}}">{{{1}}}</span></includeonly><noinclude>
This is the "logic invert" template.
+
This is the "logic invert" template. It adds a line above the variable which stands for logic invert.
 +
It also adds a tooltip text
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{~
+
{{~|variable name}}
|variable name
 
}}
 
 
</pre>
 
</pre>
 +
For example, inverted STROBE looks like this:
 +
{{~|STROBE}}
 +
 
Edit the page to see the template text.
 
Edit the page to see the template text.
  
 
[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:08, 27 August 2015

This is the "logic invert" template. It adds a line above the variable which stands for logic invert. It also adds a tooltip text It should be called in the following format:

{{~|variable name}}

For example, inverted STROBE looks like this: STROBE

Edit the page to see the template text.