Difference between revisions of "Template:Page"
From partnersenproppersolutions
(Blanked the page) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | This is the "Page" template. | ||
+ | It should be called in the following format: | ||
+ | <pre> | ||
+ | {{Page | ||
+ | |Concept=Yes/No | ||
+ | |Titel= | ||
+ | |Inleiding= | ||
+ | |Tekst= | ||
+ | |Rechts= | ||
+ | }} | ||
+ | </pre> | ||
+ | Edit the page to see the template text. | ||
+ | </noinclude><includeonly>__NOTOC____NOEDITSECTION__<!-- | ||
+ | -->{{#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 | ||
+ | |Title={{{Titel|}}} | ||
+ | |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>}} | ||
+ | |||
+ | {{Hr}} | ||
+ | |||
+ | {{#if:{{{Body|}}} |{{{Body|}}} }}<!-- | ||
+ | --->{{{Tekst|}}} | ||
+ | </div> | ||
+ | <div class="col-md-3"><!-----{{Rechterkant kolom}}---> | ||
+ | {{{Rechts|}}} | ||
+ | {{#if:{{{Rechts templates|}}} |{{#arraymap: {{{Rechts templates|}}}|;|xxx|{{#switch: xxx | ||
+ | |Afspraak maken={{Panel Afspraak maken}} | ||
+ | |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>}} | ||
+ | |||
+ | {{Hr}} | ||
+ | |||
+ | {{#if:{{{Body|}}} |{{{Body|}}} }}<!-- | ||
+ | --->{{{Tekst|}}} | ||
+ | </div>}} | ||
+ | {{#ifingroup:sysop| | ||
+ | __SHOWFACTBOX__ | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | </includeonly> |
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.