Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 15: | Line 15: | ||
}}{{#vardefine:edit|{{#if:{{{editor|}}} |{{{editor}}} |{{#show:{{#var:root}}|format=list|?docinfo editor#}}}} | }}{{#vardefine:edit|{{#if:{{{editor|}}} |{{{editor}}} |{{#show:{{#var:root}}|format=list|?docinfo editor#}}}} | ||
}}{{#vardefine:supp|{{#if:{{{support|}}} |{{{support}}} |{{#show:{{#var:root}}|format=list|?docinfo support#}}}} | }}{{#vardefine:supp|{{#if:{{{support|}}} |{{{support}}} |{{#show:{{#var:root}}|format=list|?docinfo support#}}}} | ||
- | }}{{#vardefine:lang|{{#if:{{{lang|}}} |{{{lang}}} |{{#show:{{ | + | }}{{#vardefine:lang|{{#if:{{{lang|}}} |{{{lang}}} |{{#show:{{#var:root}}|?docinfo language}}}} |
}} | }} | ||
|{{ #vardefine:main|{{{master page|}}} | |{{ #vardefine:main|{{{master page|}}} | ||
Line 29: | Line 29: | ||
}}{{#if:{{#var:main}} | }}{{#if:{{#var:main}} | ||
|{{ #vardefine:mrev|{{{master rev|}}} | |{{ #vardefine:mrev|{{{master rev|}}} | ||
- | }}{{#vardefine:head|{{#if:{{{heading|}}}|{{{heading}}}|{{#show:{{ | + | }}{{#vardefine:head|{{#if:{{{heading|}}}|{{{heading}}}|{{#show:{{#main}}|?book heading}}}} |
- | }}{{#vardefine:titl|{{#if:{{{title|}}} |{{{title}}} |{{#show:{{ | + | }}{{#vardefine:titl|{{#if:{{{title|}}} |{{{title}}} |{{#show:{{#main}}|?book title}}}} |
- | }}{{#vardefine:next|{{#if:{{{next|}}} |{{{next}}} |{{#show:{{ | + | }}{{#vardefine:next|{{#if:{{{next|}}} |{{{next}}} |{{#show:{{#main}}|?book next}}}} |
- | }}{{#vardefine:desc|{{#if:{{{desc|}}} |{{{desc}}} |{{#show:{{ | + | }}{{#vardefine:desc|{{#if:{{{desc|}}} |{{{desc}}} |{{#show:{{#main}}|?description}}}} |
}} | }} | ||
|{{ #vardefine:head|{{{heading|}}} | |{{ #vardefine:head|{{{heading|}}} |
Revision as of 07:32, 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. |