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
 
(2 intermediate revisions by the same user not shown)
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 issue with link in argument 1 - picks up readmore style when it shouldn't. Probably CSS selector issue.}}{{documentation}}</noinclude>

Latest revision as of 10:43, 28 June 2013

Icon todo.png To Do:

Fix issue with link in argument 1 - picks up readmore style when it shouldn't. Probably CSS selector issue.

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