Difference between revisions of "Template:Page"

From partnersenproppersolutions
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Page
 
{{Page
 +
|Concept=Yes/No
 
|Titel=
 
|Titel=
 
|Inleiding=
 
|Inleiding=
Line 11: Line 12:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__{{#seo:|keywords={{MediaWiki:SEO}} }}<div class="container-fluid">  
+
 
  <div class="row">
+
</noinclude><includeonly>__NOTOC____NOEDITSECTION__<!--
    {{#if:{{{Rechts|}}}|<div class="col-md-9">
+
-->{{#vardefine:@class|{{{Class|}}}}}<!--
 +
-->{{#vardefine:@formlink|{{#formlink:form={{#switch:{{#var:@class}}|Blog=Blog|Page=Page|Tag=Tag|#default=Page}} |target={{FULLPAGENAMEE}} |link text={{Fa|pencil-square-o fa-fw}} }}}}<!--
 +
-->{{#switch:{{{Concept|}}}
 +
|Yes=
 +
|#default={{#set:
 +
  |Meta description={{{Inleiding|}}}
 +
  |Meta title={{#if:{{{Titel|}}}|{{{Titel|}}}|{{FULLPAGENAME}}}}
 +
  |Meta keywords={{MediaWiki:SEO}} |+sep=,
 +
  }}}}<!--
 +
 
 +
--><div class="container-fluid">
 +
<div class="row">
 +
{{#if:{{{Rechts|}}}{{{Rechts templates|}}}|<div class="col-md-9">
 
{{#if:{{{Titel|}}} |{{Page title/new
 
{{#if:{{{Titel|}}} |{{Page title/new
   |Title={{{Titel|}}}  
+
   |Title={{{Titel|}}}
   |Formlink={{#formlink:form=Page |target={{FULLPAGENAMEE}} |link text={{Fa|pencil-square-o}} }}
+
   |Formlink={{#vardefineecho:@formlink|{{#formlink:form={{#switch:{{#var:@class}}|Blog=Blog|Page=Page|Tag=Tag|#default=Page}} |target={{FULLPAGENAMEE}} |link text={{Fa|pencil-square-o fa-fw}} }}}}
 
   }} }}
 
   }} }}
{{
+
{{#if:{{{Inleiding|}}}|<div class="inleiding" style=" font-size:larger;">{{{Inleiding|}}}</div>}}
  #if:{{{Inleiding|}}}|<div class="inleiding" style=" font-size:larger;">{{{Inleiding|}}}</div>}}
 
  
 
{{Hr}}
 
{{Hr}}
  
{{{Tekst|}}}
+
{{#if:{{{Body|}}} |{{{Body|}}} }}<!--
 +
--->{{{Tekst|}}}
 
   </div>
 
   </div>
     <div class="col-md-3">
+
     <div class="col-md-3"><!-----{{Rechterkant kolom}}--->
<!-----{{Rechterkant kolom}}--->{{{Rechts|}}}
+
{{{Rechts|}}}
    </div>|<div class="col-md-12">
+
{{#if:{{{Rechts templates|}}} |{{#arraymap: {{{Rechts templates|}}}|;|xxx|{{#switch: xxx
{{
+
  |Afspraak maken={{Panel Afspraak maken}}
    #if:{{{Titel|}}}|{{Page title/new|Title={{{Titel|}}} }} }}
+
  |Blog={{Panel Blog}}
 +
  }}| }}}}
 +
</div>|<div class="col-md-12">
 +
{{#if:{{{Titel|}}}|{{Page title/new
 +
  |Title={{{Titel|}}}
 +
  |Formlink={{#var:@formlink}}
 +
  }} }}
 
{{
 
{{
 
   #if:{{{Inleiding|}}}|<div class="inleiding" style=" font-size:larger;">{{{Inleiding|}}}</div>}}
 
   #if:{{{Inleiding|}}}|<div class="inleiding" style=" font-size:larger;">{{{Inleiding|}}}</div>}}
Line 35: Line 54:
 
{{Hr}}
 
{{Hr}}
  
{{{Tekst|}}}
+
{{#if:{{{Body|}}} |{{{Body|}}} }}<!--
 +
--->{{{Tekst|}}}
 
</div>}}
 
</div>}}
 
{{#ifingroup:sysop|
 
{{#ifingroup:sysop|

Latest revision as of 15:39, 15 May 2017

This is the "Page" template. It should be called in the following format:

{{Page
|Concept=Yes/No
|Titel=
|Inleiding=
|Tekst=
|Rechts=
}}

Edit the page to see the template text.