Template:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
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
[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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox