Template:Morebar: Difference between revisions

From Xen
Jump to navigationJump to search
(Adding <span>, which may fix the alignment issue. Also give empty default to argument 2)
No edit summary
Line 1: Line 1:
<span><div class="morebar"><div class="bar clearfix">{{{1|}}}</div><div class="readmore">{{{2|}}}</div></div></span><noinclude>{{documentation}}</noinclude>
<span><div class="morebar"><div class="bar clearfix">{{{1|}}}</div><div class="readmore">{{{2|}}}</div></div></span><noinclude>{{TODO|Fix alignment issues with "readmore" div}}{{documentation}}</noinclude>

Revision as of 23:13, 27 June 2013

Icon todo.png To Do:

Fix alignment issues with "readmore" div

[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.