Sjabloon:Portal: verschil tussen versies
Uit Auditpedia
(123 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 10: | Regel 10: | ||
{{Portal | {{Portal | ||
|Title= | |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 > | ||
}} | }} | ||
</pre> | </pre> | ||
Regel 18: | Regel 21: | ||
-->{{#set:Class=Portal | -->{{#set:Class=Portal | ||
|Title={{{Title|}}} | |Title={{{Title|}}} | ||
+ | |Improve portal title={{{Improve portal title|}}} | ||
+ | |Improve portal content={{{Improve portal content|}}} | ||
+ | |Portal={{{Portal|}}} |+sep=, | ||
+ | |Has category={{{Has category|}}} | ||
+ | |Is subportal={{#if:{{{Portal|}}} |Yes |No}} | ||
+ | |Related portal={{{Related portal|}}} |+sep=, | ||
}}<!-- | }}<!-- | ||
--><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 class="row"> | ||
+ | <div class="col-md-8 m-auto"> | ||
+ | <div id="subportal-form" class="collapse infocard mt-4 mb-4"> | ||
+ | <div class="infocard__heading">Schrijf de naam van het subportaal in het formulier hieronder</div> | ||
+ | {{Subportal form | ||
+ | |Portal={{FULLPAGENAME}} | ||
}} | }} | ||
− | <div | + | </div></div></div><!-- |
− | < | + | --><div class="row"><div class="col"> |
− | </div> | + | {{Portal subportals |
− | </div><!-- | + | |Card title=Subportalen |
+ | }} | ||
+ | </div></div><!-- | ||
− | -->{{Portal | + | --><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 | + | </div></div><!-- |
− | {{ | + | |
− | | | + | |
− | | | + | |
+ | // --------------------------------- oud? deprecated? | ||
+ | {{Improve portal content | ||
+ | |Improve portal title=Improve portal content | ||
+ | |Improve portal content={{{Improve portal content|}}} | ||
}} | }} | ||
− | + | ||
− | + | <!--Related portals Template | |
− | |||
− | < | ||
{{Related portals | {{Related portals | ||
|Title=Related portals | |Title=Related portals | ||
− | | | + | |Related portal={{#caamap:{{{Related portal|}}}|,|x|x}} |
}} | }} | ||
+ | <!--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 > }}