Wiktenauer logo.png

Difference between revisions of "Template:Section"

From Wiktenauer
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#if:{{{p|}}}|<span class="plainlinks">{{#if:{{{lbl|}}}|{{#ifeq:{{{lbl|}}}|-||<small style="font-weight:normal;">&#91;[{{fullurl:{{{1|}}}}} {{{lbl|}}}]&#93;</small>&nbsp;}}|<small style="font-weight:normal;">&#91;[{{fullurl:{{{1|}}}}} {{{2|}}}]&#93;</small>&nbsp;}}{{#if:{{{blk|}}} | [No text] | {{#lst:{{{1|}}}|{{{2|}}}}} }}</span>|<div class="plainlinks">
+
<includeonly>{{#if:{{{p|}}}|<span class="plainlinks">{{#if:{{{lbl|}}}|{{#ifeq:{{{lbl|}}}|-||<small style="font-weight:normal; vertical-align:text-bottom;">&#91;[{{fullurl:{{{1|}}}}} {{{lbl|}}}]&#93;</small>&nbsp;}}|<small style="font-weight:normal; vertical-align:text-bottom;">&#91;[{{fullurl:{{{1|}}}}} {{{2|}}}]&#93;</small>&nbsp;}}{{#if:{{{blk|}}} | [No text] | {{#lst:{{{1|}}}|{{{2|}}}}} }}</span>|<div class="plainlinks">
{{#if:{{{lbl|}}}|{{#ifeq:{{{lbl|}}}|-||<small style="font-weight:normal;">&#91;[{{fullurl:{{{1|}}}}} {{{lbl|}}}]&#93;</small>&nbsp;}}|<small style="font-weight:normal;">&#91;[{{fullurl:{{{1|}}}}} {{{2|}}}]&#93;</small>&nbsp;}}{{#if:{{{blk|}}} | [No text] | {{#lst:{{{1|}}}|{{{2|}}}}} }}
+
{{#if:{{{lbl|}}}|{{#ifeq:{{{lbl|}}}|-||<small style="font-weight:normal; vertical-align:text-bottom;">&#91;[{{fullurl:{{{1|}}}}} {{{lbl|}}}]&#93;</small>&nbsp;}}|<small style="font-weight:normal; vertical-align:text-bottom;">&#91;[{{fullurl:{{{1|}}}}} {{{2|}}}]&#93;</small>&nbsp;}}{{#if:{{{blk|}}} | [No text] | {{#lst:{{{1|}}}|{{{2|}}}}} }}
</div>}}</onlyinclude><noinclude>{{documentation}}</noinclude>
+
</div>}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 01:17, 1 May 2015

[edit] [history] [purge] Documentation icon Template documentation

This template relies on Extension:Labeled Section Transclusion, and transcludes text from a page in the Page namespace to a main article.

Here is the template blank:

{{section|Page Name|Section Name|lbl=|blk=}}