Template:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
 
(3 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>{{#vardefine:root|{{#titleparts:{{FULLPAGENAME}}|1}}
+
{{Documentation
 +
|desc=A semantic template to manage a set of sequential pages like a traditional "Book".
 +
|author=Dick6809
 +
}}
 +
<onlyinclude><includeonly>{{#vardefine:root|{{#titleparts:{{FULLPAGENAME}}|1}}
}}{{#vardefine:path|{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}||2}}}}
}}{{#vardefine:path|{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}||2}}}}
}}{{#vardefine:main|{{#if:{{{master page|}}}
}}{{#vardefine:main|{{#if:{{{master page|}}}
Line 65: Line 69:
{| style="width:100%;<!--
{| style="width:100%;<!--
       --> font-size:85%;<!--
       --> font-size:85%;<!--
-
       --> line-height:90%;<!--
+
       --> line-height:100%;<!--
       --> margin:1em 0px 0px 0px;<!--
       --> margin:1em 0px 0px 0px;<!--
       --> padding:0px; <!--
       --> padding:0px; <!--
Line 106: Line 110:
|}
|}
{{languages|{{#var:main}}}}
{{languages|{{#var:main}}}}
 +
{{documentation debug}}
</div>
</div>
{{DISPLAYTITLE:{{#if:{{#var:head}}|{{#var:head}}&nbsp;}}{{#var:titl}}
{{DISPLAYTITLE:{{#if:{{#var:head}}|{{#var:head}}&nbsp;}}{{#var:titl}}
Line 128: Line 133:
}}[[Category:Books|{{PAGENAME}}]]</includeonly><noinclude>
}}[[Category:Books|{{PAGENAME}}]]</includeonly><noinclude>
{{documentation includeonly}}
{{documentation includeonly}}
-
{{documentation}}
+
</noinclude></onlyinclude>
-
</noinclude>
+

Latest revision as of 12:49, 29 April 2011

[edit] [purge] Template documentation

Template:Book – a semantic template to manage a set of sequential pages like a traditional "Book". This is the "Book" template. It should be called in the following format:

{{Book
|1=
|2=
|3=
}}

Edit the page to see the template text.

The results of this template are not shown here.


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox