Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 30: | Line 30: | ||
|-1 | |-1 | ||
}}/{{SUBPAGENAME}} | }}/{{SUBPAGENAME}} | ||
+ | }}{{ | ||
+ | #if:{{{root|}}} | ||
+ | |{{#set:book root={{{root}}} }} | ||
+ | }}{{ | ||
+ | #if:{{{lang|}}} | ||
+ | |{{#set:book lang={{{lang}}} }} | ||
+ | }}{{ | ||
+ | #if:{{{next|}}} | ||
+ | |{{#set:book next={{{next}}}{{{lang|}}} }} | ||
+ | }}{{docinfo | ||
+ | |master page={{NAMESPACE}}:{{BASEPAGENAME}} | ||
+ | |master rev ={{{master rev|}}} | ||
+ | |status ={{{status|}}} | ||
+ | |progress ={{{progress|}}} | ||
+ | |priority ={{{priority|}}} | ||
+ | |author ={{{author|}}} | ||
+ | |editor ={{{editor|}}} | ||
+ | |support ={{{support|}}} | ||
+ | |category ={{{category|}}} | ||
+ | |desc ={{{desc|}}} | ||
}} | }} | ||
|{{book/core | |{{book/core | ||
Line 45: | Line 65: | ||
|link=none | |link=none | ||
}} | }} | ||
+ | }}{{ | ||
+ | #if:{{{chain|}}} | ||
+ | |{{#set:book next={{{next}}} }} | ||
+ | }}{{ | ||
+ | #if:{{{root|}}} | ||
+ | |{{#set:book root={{{root}}} }} | ||
+ | }}{{ | ||
+ | #if:{{{lang|}}} | ||
+ | |{{#set:book lang={{{lang}}} }} | ||
+ | }}{{ | ||
+ | #if:{{{next|}}} | ||
+ | |{{#set:book next={{{next}}}{{{lang|}}} }} | ||
+ | }}{{docinfo | ||
+ | |status ={{{status|}}} | ||
+ | |progress={{{progress|}}} | ||
+ | |priority={{{priority|}}} | ||
+ | |author ={{{author|}}} | ||
+ | |editor ={{{editor|}}} | ||
+ | |support ={{{support|}}} | ||
+ | |category={{{category|}}} | ||
+ | |desc ={{{desc|}}} | ||
}} | }} | ||
- | }}<noinclude> | + | }}<!-- |
+ | -->{{#if:{{{heading|}}}|{{#set:book heading={{{heading}}} }}}}<!-- | ||
+ | -->{{#if:{{{title|}}} |{{#set:book title ={{{title}}} }}}}<!-- | ||
+ | --><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 06:46, 15 April 2011
Template:Book/core This page is a DRAFT! The contants of this page are not complete and might contain errors. You may consult this page which contains more credible information: Template:Book |
[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. |