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=query&prop=pageimages | url={{SERVER}}/api.php?action=query&prop=pageimages&pithumbsize=200&titles={{Main page/settings|featured}}&format=json | ||
|format=JSON | |format=JSON | ||
|data= | |data=image=query.pages.*.thumbnail.source | ||
|cache seconds=604800 | |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:25, 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.