|
|
Line 17: |
Line 17: |
| Edit the page to see the template text. | | Edit the page to see the template text. |
| | | |
− | </noinclude><includeonly><!--- | + | </noinclude><includeonly>{{#set: |
− | | |
− | from ecommercewiki:
| |
− | {{#ifeq: {{#var:Content only|No}} | Yes||{{#seo:|description=Visit the EcommerceWiki for all the {{{Title|{{SUBPAGENAME}}}}} information.}}
| |
− | | |
− | | |
− | ---->{{#vardefine:Chapter|{{PAGENAME}} }}<!---
| |
− | --->{{#vardefine:Ordernumber|0}}<!---
| |
− | --->{{#vardefine: Additional expert | {{#show: {{BASEPAGENAME}} |?Additional expert |link=none }} }}<!---
| |
− | --->{{#vardefine:@topic|{{ROOTPAGENAME}}}}<!---
| |
− | --->{{#vardefine:@context|{{#show:{{FULLPAGENAME}}|?Page ID#|link=none}}}}<!---
| |
− | --->{{#vardefineecho:@section|{{#ask:[[Name chapter::{{{Title|}}}]] [[Belongs to section::+]]|?Belongs to section=|link=none|mainlabel=-|headers=plain|limit=1}} }}<!---
| |
− | | |
− | --->{{#set:
| |
− | |Date created={{{Date created|}}}
| |
− | }}<!---
| |
− | | |
− | --->{{Page title
| |
− | |Bread crumb={{BASEPAGENAME}}
| |
− | |Name={{{Title|{{SUBPAGENAME}} }}}
| |
− | |Form=Chapter
| |
− | }}<!---
| |
− | | |
− | ---><div class="container-fluid"><div class="row">{{#set:
| |
| |Introductory text={{{Introductory text|}}} | | |Introductory text={{{Introductory text|}}} |
| |Item={{PAGENAME}} | | |Item={{PAGENAME}} |
Line 46: |
Line 23: |
| |Has parent page={{BASEPAGENAME}} | | |Has parent page={{BASEPAGENAME}} |
| |Superitem={{BASEPAGENAME}} | | |Superitem={{BASEPAGENAME}} |
− | }}<!--- | + | }}{{Page title |
− | | + | |Bread crumb={{BASEPAGENAME}} |
− | ---><div class="col-md-9"><!---
| + | |Name={{{Title|{{SUBPAGENAME}} }}} |
− | | + | |Form=Chapter |
− | {{Topic buttons}} | + | }}<div class="container-fluid"> |
− | | |
− | {{Show document on other page
| |
− | |Topic={{BASEPAGENAME}} | |
− | }}
| |
− | | |
− | Only when not 'Content only' :
| |
− | | |
− | ---->
| |
− | {{{Text chapter|}}} | |
− | {{{Paragraphs|}}}
| |
− | {{#ifeq: {{#var:Content only|No}} | Yes| |
| |
− | <br>
| |
− | <div class="panel panel-default"> | |
− | <h4>{{#var:@section}}</h4>
| |
| <div class="row"> | | <div class="row"> |
− | <div class="col-md-12"> | + | <div class="col-md-9"> |
− | {{#ask: [[Item ordened in::{{BASEPAGENAME}}]] [[Belongs to section::{{#var:@section}}]] | + | {{{Text chapter|}}}</div> |
− | |?Item
| |
− | |?Item ordened in
| |
− | |sort=Ordernumber
| |
− | |format=template
| |
− | |template=Show table of contents/Chapter
| |
− | |named args=yes
| |
− | |link=none
| |
− | }}</div></div></div><!---
| |
− | | |
− | --->{{#vardefine:@totalpagereport|{{#show:{{#var:@topic}}|?Total page report|link=none}}}}<!---
| |
− | | |
− | {{#if:{{#var:@totalpagereport}}|<div style="margin-bottom:10px;">{{Show document link for
| |
− | |Text=Download entire topic
| |
− | |Document={{#var:@totalpagereport}}
| |
− | |Video=
| |
− | |Link type=button
| |
− | |Button class=btn-warning btn-warning big-button panel-alert-ecom
| |
− | |Text class= | |
− | }}</div>}} | |
− | | |
− | ---->
| |
− | <div class="panel panel-default">
| |
− | <div class="panel-body">
| |
− | <center><span style="font-size: 30px;">{{#ask: [[Item::{{FULLPAGENAME}}]]|?Chapter level|format=template|template=Chapter level}}</span></center>
| |
− | </div>
| |
− | <!---
| |
− | ecommercewiki:
| |
− | | |
− | {{Visual
| |
− | |Visual={{{Visual|}}}
| |
− | }}
| |
− | {{Show hosts
| |
− | |Chapter={{PAGENAME}}
| |
− | }}
| |
− | {{Show curators
| |
− | |Chapter={{PAGENAME}}
| |
− | }}
| |
− | {{Members expert group
| |
− | |Chapter={{PAGENAME}}
| |
− | |Topic={{BASEPAGENAME}}
| |
− | }}
| |
− | | |
− | {{Right hand share page|Sharing page type=Chapter}}
| |
− | {{Show alert with link
| |
− | |Go to form=
| |
− | |Go to page=Special:Contact
| |
− | |Message=
| |
− | }}
| |
− | -----></div></div>
| |
| </div> | | </div> |
− | [[Category:Chapter]] [[Category:Topic content]] | + | [[Category:Chapter]] |
− | }} <!-- Only when not 'Content only' --> | + | }} |
| </includeonly> | | </includeonly> |