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
  }}{{docinfo
  |master page={{NAMESPACE}}:{{BASEPAGENAME}}
  |master page={{NAMESPACE}}:{{BASEPAGENAME}}
Line 65: Line 56:
   |link=none
   |link=none
   }}
   }}
-
  }}{{
+
  }}<!--
-
  #if:{{{chain|}}}
+
  -->{{#if:{{{next|}}}|{{#set:book next={{{next}}} }}}}<!--
-
|{{#set:book next={{{next}}} }}
+
  -->{{docinfo
-
}}{{
+
-
#if:{{{root|}}}
+
-
|{{#set:book root={{{root}}} }}
+
-
}}{{
+
-
#if:{{{lang|}}}
+
-
|{{#set:book lang={{{lang}}} }}
+
-
}}{{
+
-
#if:{{{next|}}}
+
-
|{{#set:book next={{{next}}}{{{lang|}}} }}
+
-
  }}{{docinfo
+
  |status  ={{{status|}}}
  |status  ={{{status|}}}
  |progress={{{progress|}}}
  |progress={{{progress|}}}

Revision as of 06:57, 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