Template:Nb: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<html><div class="noborder">
<div class="noborder">
</html>{{{1}}}<html></div></html><noinclude>
{{{1}}}</div><noinclude>
<br/><br/>
<br/><br/>
The template '''{{PAGENAME}}''' creates a <code>&lt;div class="border"&gt;</code> tag. Along with a style definition in [[MediaWiki:Common.css]], it is used to remove the border around <code>&lt;source&gt;</code> tags. Example:
The template '''{{PAGENAME}}''' creates a <code>&lt;div class="border"&gt;</code> tag. Along with a style definition in [[MediaWiki:Common.css]], it is used to remove the border around <code>&lt;source&gt;</code> tags. Example:

Revision as of 16:52, 15 January 2014

{{{1}}}



The template Nb creates a <div class="border"> tag. Along with a style definition in MediaWiki:Common.css, it is used to remove the border around <source> tags. Example:

* An example of Bash script:
{{nb|<source lang="bash">echo Hello, World!</source>}}

This gives:

  • An example of Bash script:
echo Hello, World!