Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
| Line 2: | Line 2: | ||
}}{{#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|}}} | ||
| - | |{{{master page}}} | + | |{{{master page}}} |
| - | |{{#if:{{#var:path}} | + | |{{#if:{{#var:path}} |
| - | + | |{{#if:{{#show:{{#var:root}}|?docinfo master page#}} | |
| - | + | |{{#show:{{#var:root}}|?docinfo master page#}}/{{#var:path}} | |
| + | }} | ||
}} | }} | ||
}} | }} | ||
Revision as of 08:22, 20 April 2011
The results of this template are not shown here.
[edit] []
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 above documentation is transcluded from Template:Book/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. |