Sjabloon:Related websites card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
Regel 16: Regel 16:
 
|Website 5=A website that is related to this portal
 
|Website 5=A website that is related to this portal
 
|Text website 5= The text you want to show for the website
 
|Text website 5= The text you want to show for the website
 +
|Website 6=A website that is related to this portal
 +
|Text website 6= The text you want to show for the website
 
}}
 
}}
 
</pre>
 
</pre>
Regel 31: Regel 33:
 
{{#if: {{{Website 4|}}} |<li>{{#widget:Link|type=a|href={{{Website 4|}}}|target=_blank|text={{{Text website 4|}}} }}</li>| }}
 
{{#if: {{{Website 4|}}} |<li>{{#widget:Link|type=a|href={{{Website 4|}}}|target=_blank|text={{{Text website 4|}}} }}</li>| }}
 
{{#if: {{{Website 5|}}} |<li>{{#widget:Link|type=a|href={{{Website 5|}}}|target=_blank|text={{{Text website 5|}}} }}</li>| }}
 
{{#if: {{{Website 5|}}} |<li>{{#widget:Link|type=a|href={{{Website 5|}}}|target=_blank|text={{{Text website 5|}}} }}</li>| }}
 +
{{#if: {{{Website 6|}}} |<li>{{#widget:Link|type=a|href={{{Website 6|}}}|target=_blank|text={{{Text website 6|}}} }}</li>| }}
 
</ul>
 
</ul>
 
</div>
 
</div>

Huidige versie van 8 feb 2021 om 22:14

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
|Website 6=A website that is related to this portal
|Text website 6= The text you want to show for the website
}}

Edit the page to see the template text.