(Created page with "<!-- PageImages API -->{{#get_web_data: url={{SERVER}}/api.php?action=query&smaxage=604800&maxage=604800&prop=pageimages&pilimit=1&pilicense=any&piprop=name&format=json&titles=Momo_Curie|format=JSON|data=pageimage=pageimage|cachesecond=604800}}<!-- Template starts here --><div id="home-featured" class="home-card home-card--button home-card--col2 home-card--row3"> <div class="home-card__background">File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}...") |
No edit summary |
||
Line 2: | Line 2: | ||
PageImages API | PageImages API | ||
-->{{#get_web_data: | -->{{#get_web_data: | ||
url={{SERVER}}/api.php?action=query&smaxage=604800&maxage=604800&prop=pageimages&pilimit=1&pilicense=any&piprop=name&format=json&titles= | url={{SERVER}}/api.php?action=query&smaxage=604800&maxage=604800&prop=pageimages&pilimit=1&pilicense=any&piprop=name&format=json&titles=Momo Curie|format=JSON|data=pageimage=pageimage|cachesecond=604800}}<!-- | ||
Template starts here | Template starts here | ||
--><div id="home-featured" class="home-card home-card--button home-card--col2 home-card--row3"> | --><div id="home-featured" class="home-card home-card--button home-card--col2 home-card--row3"> | ||
<div class="home-card__background">[[File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}|Placeholderv2.png}}|x200px|link= | <div class="home-card__background">[[File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}|Placeholderv2.png}}|x200px|link=Momo Curie]]</div> | ||
<div class="home-card__foreground"> | <div class="home-card__foreground"> | ||
<div class="home-card__label">Featured</div> | <div class="home-card__label">Featured</div> | ||
<h3 class="home-card__header"> | <h3 class="home-card__header">Momo Curie</h3> | ||
</div> | </div> | ||
</div><templatestyles src="Template:Main page/featured/styles.css"/> | </div><templatestyles src="Template:Main page/featured/styles.css"/> | ||
<noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css"/></noinclude> | <noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css"/></noinclude> |