(Page créée avec « <div class="home-card__background">[[File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}|Placeholderv2.png}}|x200px|link={{Main page/settings|featured}}]]</div> <div class="home-card__foreground"> <div class="home-card__label">Featured</div> <h3 class="home-card__header">{{BASEPAGENAME:{{Main page/settings|featured}}}}</h3> </div> </div><templatestyles src="Template:Main page/featured/styles.css"/><noinclude><!-- For preview only --><templatest... ») |
Aucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
<!-- | |||
PageImages API | |||
--> | |||
<!-- Uncomment when setting adjusted | |||
{{#get_web_data: | |||
url={{SERVER}}/api.php?action=query&smaxage=604800&maxage=604800&prop=pageimages&pilimit=1&pilicense=any&piprop=name&format=json&titles={{Main page/settings|featured}}|format=JSON|data=pageimage=pageimage|cachesecond=604800}} | |||
--> | |||
<!-- | |||
Template starts here | |||
--> | |||
<div class="home-card__background">[[File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}|Placeholderv2.png}}|x200px|link={{Main page/settings|featured}}]]</div> | <div class="home-card__background">[[File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}|Placeholderv2.png}}|x200px|link={{Main page/settings|featured}}]]</div> | ||
<div class="home-card__foreground"> | <div class="home-card__foreground"> |
Version actuelle datée du 1 mai 2023 à 20:45
[[File:Erreur : aucune variable locale « pageimage » n’a été définie.|x200px|link=]]
Featured
This documentation is transcluded from Modèle:Main page/featured/doc. Changes can be proposed in the talk page.
This template is used on the main page. It is the featured article card in the content section. You can update the content by editing the main page settings.