No edit summary |
PabloEscobar (talk | contribs) No edit summary Tag: Reverted |
||
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 class="home-card__background">[[ | <div class="home-card__background">[[{{#show:{{Main page/settings|featured}}|?Page Image#-|default=File: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__badge">🌟 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 class="home-card__label">{{BASEPAGENAME:{{Main page/settings|featuredtext}}}}</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> |
Revision as of 14:29, 16 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.