Template:MainPage/Citizen/featured: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<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"> | ||
{{#get_web_data: | {{#get_web_data: | ||
url={{SERVER}}/api.php?action= | url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles{{Main page/settings|featured}} | ||
|format=JSON | |format=JSON | ||
|data= | |data=title=title,pageimage=pageimage,description=extract | ||
|cache seconds=604800 | |||
}} | }} | ||
<div class="home-card__background"> | <div class="home-card__background"> | ||
[[File:{{#if: {{#external_value:image}} | [[File:{{#if: {{#external_value:image}} |
Revision as of 02:23, 30 July 2024
[[File:Error: no local variable "image" has been set.|x200px|link=]]
Featured
Page Template:Main page/featured/styles.css has no content.
Template loop detected: Template:MainPage/Citizen/featured/doc
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.