Sjabloon:Subportal: verschil tussen versies
Uit Auditpedia
(14 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 11: | Regel 11: | ||
|Title= <text> | |Title= <text> | ||
|Portal= <page> | |Portal= <page> | ||
+ | |Improve portal title= <text> | ||
+ | |Improve portal content= <text> | ||
}} | }} | ||
</pre> | </pre> | ||
Regel 18: | Regel 20: | ||
-->{{#set:Class=Subportal | -->{{#set:Class=Subportal | ||
|Title={{{Title|}}} | |Title={{{Title|}}} | ||
− | |Portal={{{Portal|}}} | | + | |Portal={{{Portal|}}} |
+ | |Improve portal title={{{Improve portal title|}}} | ||
+ | |Improve portal content={{{Improve portal content|}}} | ||
}}<!-- | }}<!-- | ||
Regel 25: | Regel 29: | ||
<div class="col"> | <div class="col"> | ||
{{Page title | {{Page title | ||
− | |Title={{{Title|}}} | + | |Title=Subportaal - {{{Title|}}} |
+ | |Displaytitle={{{Title|}}} | ||
}} | }} | ||
</div> | </div> | ||
− | </div><!-- | + | </div><!-- |
− | --> | + | |
− | {{Portal articles | + | --><div class="card mb-2"><!-- |
− | |Card title= | + | --><div class="card-header portal-for-subportal"> |
− | |Portal= | + | <h4>Portaal: [[{{{Portal|}}}]]</h4> |
− | }} | + | </div></div><!-- |
+ | |||
+ | --><div class="row"><div class="col"><!-- | ||
+ | -->{{Subportal articles | ||
+ | |Card title=Artikelen | ||
+ | |Subportal={{FULLPAGENAME}} | ||
+ | |Portal={{{Portal|}}} | ||
+ | }}<!-- | ||
+ | --></div></div><!-- | ||
+ | |||
<!--end template Subportals--> | <!--end template Subportals--> | ||
− | <div class="row"> | + | <div class="row"><div class="col"> |
+ | <h2 style="color:#2c446a;">Uitgelichte artikelen</h2> | ||
+ | <div class="row subportal-cards"> | ||
{{Show articles | {{Show articles | ||
− | |Number of articles= | + | |Number of articles=6 |
− | |Portal= | + | |Subportal={{FULLPAGENAME}} |
+ | |Portal={{{Portal|}}} | ||
+ | |Featured only=yes | ||
}}<!-- | }}<!-- | ||
{{Improve portal content | {{Improve portal content | ||
Regel 44: | Regel 62: | ||
|Improve portal content={{{Improve portal content|}}} | |Improve portal content={{{Improve portal content|}}} | ||
}}--> | }}--> | ||
− | </div> | + | </div></div> |
− | <!--Related portals Template | + | <!-- |
+ | |||
+ | // Related portals Template | ||
{{Related portals | {{Related portals | ||
|Title=Related portals | |Title=Related portals | ||
|Related portal={{#caamap:{{{Related portal|}}}|,|x|x}} | |Related portal={{#caamap:{{{Related portal|}}}|,|x|x}} | ||
}} | }} | ||
− | + | // end template Related portals--> | |
</div> | </div> | ||
</includeonly> | </includeonly> |
Huidige versie van 14 apr 2022 om 14:45
This is the Subportal template. It should be called in the following format:
{{Subportal |Title= <text> |Portal= <page> |Improve portal title= <text> |Improve portal content= <text> }}