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: | ||
< | <includeonly><!-- | ||
{{#get_web_data: | API call | ||
url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles= | -->{{#get_web_data: | ||
url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles=<!-- | |||
|data=title= | |||
To change featured article, change the page name below. | |||
Leave everything else as it is. | |||
-->1967 Urcean political crisis<!-- | |||
To change featured article, change the page name above. | |||
Leave everything else as it is. | |||
-->|format=JSON | |||
|data=title=title,pageimage=pageimage,description=extract | |||
|cache seconds=604800 | |cache seconds=604800 | ||
}} | }}<div class="card" id="featured_article"> | ||
<div class=" | <div class="card-image card-image-featured">[[File:VP Agnew and Mayor Lindsay (cropped to Lindsay).jpg|x260px|link=Special:MyLanguage/{{#external_value:title}}]]</div> | ||
[[File: | <div class="card-text"> | ||
<p class="byline">Featured article</p> | |||
<h3>[[{{#external_value:title}}]]</h3> | |||
{{#external_value:description}} | |||
</div> | </div> | ||
<div class=" | </div><templatestyles src="Template:Home/Featured article/styles.css" /></includeonly><noinclude> | ||
< | {{/doc}}<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --></noinclude> | ||
< | |||
</div> | |||
</div> | |||
<templatestyles src="Template: | |||
<noinclude> | |||
<!-- | |||
</noinclude> |
Revision as of 02:05, 30 July 2024
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.