Difference between revisions of "Template:Page"
From partnersenproppersolutions
(12 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Page | {{Page | ||
+ | |Concept=Yes/No | ||
|Titel= | |Titel= | ||
|Inleiding= | |Inleiding= | ||
Line 12: | Line 13: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly> | + | </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="container-fluid"> | ||
<div class="row"> | <div class="row"> | ||
− | {{#if:{{{Rechts|}}}|<div class="col-md-9"> | + | {{#if:{{{Rechts|}}}{{{Rechts templates|}}}|<div class="col-md-9"> |
{{#if:{{{Titel|}}} |{{Page title/new | {{#if:{{{Titel|}}} |{{Page title/new | ||
|Title={{{Titel|}}} | |Title={{{Titel|}}} | ||
− | |Formlink={{#vardefineecho:@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>}} |
− | |||
{{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|}}} |
− | + | {{#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 | {{#if:{{{Titel|}}}|{{Page title/new | ||
|Title={{{Titel|}}} | |Title={{{Titel|}}} | ||
Line 39: | 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.