Template:Main page/featured: Difference between revisions

Template page
imported>Alistair3149
(Allow card to be previewed on template page)
 
m (Possible typo in variable.)
Tag: Reverted
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={{Main page/settings|featured}}|format=JSON|data=pageimage=pageimage|cachesecond=604800}}<!--
  url={{SERVER}}/api.php?action=query&smaxage=604800&maxage=604800&prop=pageimage&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">

Revision as of 21:01, 31 January 2023

Template documentation[view][edit][history][purge]
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.