Template:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 20: Line 20:
  |next={{#show:{{NAMESPACE}}:{{BASEPAGENAME}}|?book next#}}/{{SUBPAGENAME}}
  |next={{#show:{{NAMESPACE}}:{{BASEPAGENAME}}|?book next#}}/{{SUBPAGENAME}}
  |prev={{
  |prev={{
-
   #ask:
+
   #if:{{
-
  [[Category:Books]]
+
  #ask:
-
  [[book next::{{#titleparts:{{FULLPAGENAME}}|-1}}]]
+
  [[Category:Books]]
-
  |format=list
+
  [[book next::{{#titleparts:{{FULLPAGENAME}}|-1}}]]
-
  |limit=1
+
  |format=list
-
  |link=none
+
  |limit=1
-
   }}/{{SUBPAGENAME}}
+
  |link=none
 +
  }}
 +
   |{{
 +
  #ask:
 +
  [[Category:Books]]
 +
  [[book next::{{#titleparts:{{FULLPAGENAME}}|-1}}]]
 +
  |format=list
 +
  |limit=1
 +
  |link=none
 +
  }}/{{SUBPAGENAME}}
 +
  }}
  }}{{docinfo
  }}{{docinfo
  |master page={{NAMESPACE}}:{{BASEPAGENAME}}
  |master page={{NAMESPACE}}:{{BASEPAGENAME}}

Revision as of 15:03, 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