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 |
||
(60 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div id="home-featured" class="home-card home-card--button home-card--col2 home-card-- | <div id="home-featured" class="home-card home-card--button home-card--col2 home-card--row4"> | ||
{{#get_web_data: | |||
url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=240&explaintext=1&format=json&titles=<!-- | |||
To change featured article, change the page name below. | |||
Leave everything else as it is. | |||
-->Education in Caphiria<!-- | |||
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 | |||
}} | |||
<div class="home-card__background"> | <div class="home-card__background"> | ||
[[ | [[File:{{#external_value:pageimage|Placeholderv2.png}}|x200px|link=Special:MyLanguage/{{#external_value:title}}]] | ||
}}|x200px|link={{ | |||
</div> | </div> | ||
<div class="home-card__foreground"> | <div class="home-card__foreground"> | ||
<div class="home-card__badge">Featured</div> | <div class="home-card__badge">Featured</div> | ||
<div class="home-card__header">{{ | <div class="home-card__header">[[{{#external_value:title}}]]</div> | ||
<div class="home-card__label">{{ | <div class="home-card__label">{{#external_value:description}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
<templatestyles src="Template: | <templatestyles src="Template:MainPage/Citizen/featured/styles.css"/> | ||
<noinclude><!-- For preview only --><templatestyles src="Template: | <noinclude><!-- For preview only --><templatestyles src="Template:MainPage/Citizen/shared/styles.css" />{{/doc}}</noinclude> |
Latest revision as of 13:03, 2 August 2024
Featured
Education in Caphiria is provided in public and private environments. By law, education is compulsory over the age of 3 and ends at 16. The Ministry of Education sets overall educational standards. However, private schools are generally free...
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.