Template:Nb: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with '<div class="noborder"> {{{1}}}</div><noinclude> <br/><br/> The template '''{{PAGENAME}}''' creates a <code><div class="border"></code> tag. Along with a style definition in…')
 
No edit summary
Line 1: Line 1:
<div class="noborder">
<html><div class="noborder">
{{{1}}}</div><noinclude>
</html>{{{1}}}<html></div></html><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:51, 15 January 2014

<html>

</html>{{{1}}}<html>

</html>



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:

<html>

</html>
echo Hello, World!
<html>

</html>