Sjabloon:Related websites card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 28: Regel 28:
 
<ul>
 
<ul>
 
{{#if: Website 1= |
 
{{#if: Website 1= |
<li>[{{{{Website 1|}}}{{{Text website 1|}}}]</li>|}}
+
<li>[{{{Website 1|}}}{{{Text website 1|}}}]</li>|}}
 
{{#if: Website 2= |
 
{{#if: Website 2= |
 
<li>[{{{Website 2|}}}{{{Text website 2|}}}]</li>|}}
 
<li>[{{{Website 2|}}}{{{Text website 2|}}}]</li>|}}

Versie van 1 dec 2020 15:32

This is the "Related websites card" template. It should be called in the following format:

{{Related websites card
|Card title=The title of the card, default is: Related websites
|Read more=Put the page you want to refer to when you click on read more here (Fullurl is already included) default is Main Page
|Website 1=A website that is related to this portal
|Text website 1= The text you want to show for the website
|Website 2=A website that is related to this portal
|Text website 2= The text you want to show for the website
|Website 3=A website that is related to this portal
|Text website 3= The text you want to show for the website
|Website 4=A website that is related to this portal
|Text website 4= The text you want to show for the website
|Website 5=A website that is related to this portal
|Text website 5= The text you want to show for the website
}}

Edit the page to see the template text.