PabloEscobar (talk | contribs) No edit summary Tag: Reverted |
PabloEscobar (talk | contribs) m (Reverted edits by PabloEscobar (talk) to last revision by Nomad) Tag: Rollback |
||
(12 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
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}}<!-- | 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"> | ||
<div class="home-card__background">[[{{# | <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"> | ||
<div class="home- | <div class="home-card__label">Featured</div> | ||
<div class="home-card__header">{{BASEPAGENAME:{{Main page/settings|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.