Sjabloon:Portal: verschil tussen versies
Uit Auditpedia
(21 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><!-- | + | |
− | --> | + | --><div class="row"> |
− | {{ | + | <div class="col-md-8 m-auto"> |
− | + | <div id="subportal-form" class="collapse infocard mt-4 mb-4"> | |
− | |Portal= | + | <div class="infocard__heading">Schrijf de naam van het subportaal in het formulier hieronder</div> |
+ | {{Subportal form | ||
+ | |Portal={{FULLPAGENAME}} | ||
+ | }} | ||
+ | </div></div></div><!-- | ||
+ | |||
+ | --><div class="row"><div class="col"> | ||
+ | {{Portal subportals | ||
+ | |Card title=Subportalen | ||
}} | }} | ||
− | <!-- | + | </div></div><!-- |
− | <div class="row"> | + | |
− | {{Show | + | --><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 | ||
}} | }} | ||
− | {{Improve portal | + | </div> |
− | |Improve portal title=Improve portal | + | </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|}}} | ||
}} | }} | ||
− | + | ||
− | <!--Related portals Template | + | <!--Related portals Template |
{{Related portals | {{Related portals | ||
|Title=Related portals | |Title=Related portals | ||
− | |Related portal={{# | + | |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 > }}