Sjabloon:Show portals in articles overview: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(64 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 7: Regel 7:
 
<pre>
 
<pre>
 
{{Show portals in articles overview
 
{{Show portals in articles overview
|Page= <page> Portal pagina
+
|Page= <page/> Portal pagina
|Title= <text> Title of portal
+
|Title= <text/> Title of portal
 
}}
 
}}
 
</pre>
 
</pre>
  
</noinclude><includeonly>
+
</noinclude><includeonly><div class="portal-row">
<div class="col">
+
<p class="portal-title">[[Portal::{{{Page|}}}]]  {{#ifeq:{{{Is subportal|}}} |Yes|{{Fa|folder-open}} }}</p>
<div class="card mt-5">
+
 
  <div class="card-header" style="background-color: #006F9E; color: white;">
+
<div class="portal-articles">
  <h4>{{{Card title|{{{Title|}}}}}}</h4>
+
<div class="portal-articles-subportals">
  </div>
+
{{#ask: [[Class::Subportal]] [[Portal::{{{Page|}}}]]
  <div class="card-body" style="">
+
|?=Page
    <div class="row">
+
|?Portal
    <div class="col-8">
+
|format=template
<p class="mt-0 pt-0" style="font-weight:bold;">Articles:</p>
+
|template=Show subportals in overview
<div class="portal-articles" style="column-count:2;">
+
|named args=Yes
{{#ask: [[Class::Article]] [[Portal::Portal/{{{Title|}}}]]
+
|link=none
|format=ul
 
 
|sep=
 
|sep=
|default=Geen pagina's bij deze portal
+
}}</div><!--
      }}</div></div>
+
 
<div class="col pl-5">
+
-->
{{#if: {{#ask: [[Class::Portal]] [[Portal::Portal/{{{Title|}}}]]}}
+
{{#ask: [[Class::Article]] [[Portal::{{{Page|}}}]]
|<p class="mt-0 pt-0" style="font-weight:bold;">Subportals:</p>
+
|?=Page
{{#ask: [[Class::Portal]] [[Portal::Portal/{{{Title|}}}]]
+
|?Portal
|format=ul
+
|format=template
|sep=
+
|template=Show articles in overview
|default=
+
|named args=Yes
}}
+
|link=none
| }}</div>
+
}}<!--
    </div>
+
--></div><!-- //end of portal-articles
  </div>
+
--></div><!-- //end of portal-row
</div>
+
--></includeonly>
</div>
 
</includeonly>
 

Huidige versie van 21 apr 2022 om 14:39


{{Show portals in articles overview
|Page= <page/> Portal pagina
|Title= <text/> Title of portal
}}