Sjabloon:Subportal: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(10 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 29: Regel 29:
 
<div class="col">
 
<div class="col">
 
{{Page title
 
{{Page title
|Title={{{Title|}}}
+
|Title=Subportaal - {{{Title|}}}
 +
|Displaytitle={{{Title|}}}
 
}}
 
}}
 
</div>
 
</div>
 
</div><!--
 
</div><!--
  
--><div class="card"><!--  
+
--><div class="card mb-2"><!--  
--><div class="card-header" style="background-color: #00A184; color: white!important;">
+
--><div class="card-header portal-for-subportal">
 
<h4>Portaal: [[{{{Portal|}}}]]</h4>
 
<h4>Portaal: [[{{{Portal|}}}]]</h4>
</div><!--  
+
</div></div><!--  
  
 +
--><div class="row"><div class="col"><!--
 
-->{{Subportal articles
 
-->{{Subportal articles
 
|Card title=Artikelen
 
|Card title=Artikelen
 
|Subportal={{FULLPAGENAME}}
 
|Subportal={{FULLPAGENAME}}
 
|Portal={{{Portal|}}}
 
|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=3
+
|Number of articles=6
|Portal=Portal/{{{Title|}}}
+
|Subportal={{FULLPAGENAME}}
 +
|Portal={{{Portal|}}}
 +
|Featured only=yes
 
}}<!--
 
}}<!--
 
{{Improve portal content
 
{{Improve portal content
Regel 54: 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-->
+
// 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>
}}