Sjabloon:Portal: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(24 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 24: Regel 24:
 
|Improve portal content={{{Improve portal content|}}}
 
|Improve portal content={{{Improve portal content|}}}
 
|Portal={{{Portal|}}} |+sep=,
 
|Portal={{{Portal|}}} |+sep=,
 +
|Has category={{{Has category|}}}
 
|Is subportal={{#if:{{{Portal|}}} |Yes |No}}
 
|Is subportal={{#if:{{{Portal|}}} |Yes |No}}
 
|Related portal={{{Related portal|}}} |+sep=,
 
|Related portal={{{Related portal|}}} |+sep=,
Regel 29: Regel 30:
  
 
--><div class="portal-container">
 
--><div class="portal-container">
<div class="row">
+
<div class="row mb-2"><div class="col">
<div class="col">
+
{{Page title with button
{{Page title
+
  |Title=Portaal - {{{Title|}}}
|Title={{{Title|}}}
+
  |Displaytitle={{{Title|}}}
 +
  |Formlink={{#ifsysop:{{#widget:Button link
 +
  |class=btn btn-default orange-button
 +
  |href=#subportal-form
 +
  |datatoggle=collapse
 +
  |buttontext={{Fa|plus}} {{int: ws-new-subportal}}
 +
  }} }}
 
}}
 
}}
</div>
+
</div></div><!--
</div><!-- end of .col-md-4 and .row
+
 
-->
+
--><div class="row">
{{Portal articles
+
<div class="col-md-8 m-auto">
|Card title=Inhoud
+
<div id="subportal-form" class="collapse infocard mt-4 mb-4">
|Portal=Portal/{{{Title|}}}
+
<div class="infocard__heading">Schrijf de naam van het subportaal in het formulier hieronder</div>
 +
{{Subportal form
 +
|Portal={{FULLPAGENAME}}
 
}}
 
}}
<!--end template Subportals-->
+
</div></div></div><!--
<div class="row">
+
 
{{Show articles
+
--><div class="row"><div class="col">
|Number of articles=3
+
{{Portal subportals
|Portal=Portal/{{{Title|}}}
+
|Card title=Subportalen
 
}}
 
}}
{{#if: {{CURRENTLOGGEDUSER}} |
+
</div></div><!--
{{Improve portal
+
 
|Improve portal title={{{Improve portal title|}}}
+
--><div class="row"><div class="col">
 +
<h2 style="color:#2c446a;">Subportalen uitgelicht</h2>
 +
<div class="row subportal-cards">
 +
{{#ask: [[Class::Subportal]] [[Portal::{{FULLPAGENAME}}]]
 +
|?=Page
 +
|?Title
 +
|format=template
 +
|template=Show subportal as card
 +
|Named args=Yes
 +
|link=none
 +
}}
 +
</div>
 +
</div></div><!--
 +
 
 +
 
 +
 
 +
// --------------------------------- oud? deprecated?
 +
{{Improve portal content
 +
|Improve portal title=Improve portal content
 
|Improve portal content={{{Improve portal content|}}}
 
|Improve portal content={{{Improve portal content|}}}
 
}}
 
}}
}}
+
 
{{Tasks
+
<!--Related portals Template
|Title=Show tasks
 
|Expand=
 
|Update=
 
|Other=
 
|Number of requests=5
 
}}
 
</div>
 
<!--Related portals Template-->
 
 
{{Related portals
 
{{Related portals
 
|Title=Related portals
 
|Title=Related portals
|Related portal={{#arraymap:{{{Related portal|}}}|,|x|x}}
+
|Related portal={{#caamap:{{{Related portal|}}}|,|x|x}}
 
}}
 
}}
 
<!--end template Related portals-->
 
<!--end template Related portals-->
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Huidige versie van 14 apr 2022 om 14:12


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

{{Portal
|Title=
|Improve portal title=Title of 'improve portal panel'
|Improve portal content=Content of 'improve portal panel'
|Portal= < comma-separated pages > 
|Is subportal= < optional: Yes >
}}