m (Possible typo in variable.) Tag: Reverted |
PabloEscobar (talk | contribs) m (Reverted edits by PabloEscobar (talk) to last revision by Nomad) Tag: Rollback |
||
(15 intermediate revisions by 3 users not shown) | |||
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= | 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 | 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"> | ||
Line 8: | Line 8: | ||
<div class="home-card__foreground"> | <div class="home-card__foreground"> | ||
<div class="home-card__label">Featured</div> | <div class="home-card__label">Featured</div> | ||
< | <div class="home-card__header">{{BASEPAGENAME:{{Main page/settings|featured}}}}</div> | ||
</div> | </div> | ||
</div><templatestyles src="Template:Main page/featured/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css" />{{/doc}}</noinclude> | </div><templatestyles src="Template:Main page/featured/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css" />{{/doc}}</noinclude> |
Latest revision as of 14:08, 30 May 2024
This documentation is transcluded from Template: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.