Wiktenauer logo.png

Difference between revisions of "Template:Section"

From Wiktenauer
Jump to navigation Jump to search
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{p|}}} | <span class="hidden-redlink plainlinks"> | <div class="hidden-redlink 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|}}}|-||<span style="font-weight:normal; font-size:85%;">&#91;[{{fullurl:{{{1|}}}}} {{{lbl|}}}]&#93;</span>&nbsp;}}|<span style="font-weight:normal; font-size:85%;">&#91;[{{fullurl:{{{1|}}}}} {{{2|}}}]&#93;</span>&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|}}}}} }}
{{#if: {{{p|}}} | </span> | </div> }}<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=}}