Template:Book/PageTitle

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 5: Line 5:
|all
|all
|title={{#vardefine:title|{{#show:{{#var:cpag}}|?book title}}
|title={{#vardefine:title|{{#show:{{#var:cpag}}|?book title}}
-
  }}{{#if:{{#var:title}}|<!-- IS BLANK THEN -->
+
  }}{{#if:{{#var:title}}
-
  |{{#if:{{#var:mpag}}
+
|<!-- IS BLANK THEN -->
-
  |{{#vardefine:title|{{#show:{{#var:mpag}}|?book title}} }}
+
  |{{#if:{{#var:mpag}}|{{#vardefine:title|{{#show:{{#var:mpag}}|?book title}} }} }}
-
  }}
+
  }}{{#if:{{#var:title}}
-
  }}{{#if:{{#var:title}}|<!-- IS BLANK THEN -->
+
|<!-- IS BLANK THEN -->
  |{{#vardefine:title|{{PAGENAME:{{#var:cpag}} }} }}
  |{{#vardefine:title|{{PAGENAME:{{#var:cpag}} }} }}
  }}
  }}

Revision as of 08:05, 23 April 2011

Book/PageTitle - Template:Book/PageTitle -
[edit] [purge] Template documentation

Template:Book/PageTitle – returns the respectable page title of a page in a book.

Usage

{{Book/PageTitle | PageName }}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox