Difference between revisions of "Template:Morebar"

From Xen
(Added Morebar template)
 
(Adding <span>, which may fix the alignment issue. Also give empty default to argument 2)
Line 1: Line 1:
<div class="morebar"><div class="bar clearfix">{{{1|}}}</div><div class="readmore">{{{2}}}</div></div><noinclude>{{documentation}}</noinclude>
+
<span><div class="morebar"><div class="bar clearfix">{{{1|}}}</div><div class="readmore">{{{2|}}}</div></div></span><noinclude>{{documentation}}</noinclude>

Revision as of 23:12, 27 June 2013

[edit] [purge] Template documentation

Usage

{{Morebar}}

Renders as:


{{Morebar|Here is a headline, which describes something}}

Renders as:

Here is a headline, which describes something
{{Morebar|Here is a headline, which describes something|[[:Category:Templates|More]]}}

Renders as:

Here is a headline, which describes something
{{Morebar|Here is a headline, which describes something|[http://xenproject.org Home]]}}

Renders as:

Here is a headline, which describes something
The above documentation is transcluded from Template:Morebar/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.