Template:METATRON Wiki/Featured article: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--  
<includeonly><!--  
API call  
API call  
-->{{#get_web_data:  
--><!--{{#get_web_data:  
  url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles=<!--
  url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles= --><!--


To change featured article, change the page name below.
To change featured article, change the page name below.
Leave everything else as it is.
Leave everything else as it is.


-->Jonas_Hunter<!--
--><!--Jonas_Hunter--><!--


To change featured article, change the page name above.
To change featured article, change the page name above.
Leave everything else as it is.
Leave everything else as it is.


-->|format=JSON
--><!--|format=JSON
  |data=title=title,pageimage=pageimage,description=extract
  |data=title=title,pageimage=pageimage,description=extract
  |cache seconds=604800
  |cache seconds=604800
}}<div class="card" id="featured_article">
}} -->
<div class="card-image card-image-featured">[[File:{{#external_value:pageimage}}|260px|link={{#external_value:title}}]]</div>
<div class="card" id="featured_article">
<!-- <div class="card-image card-image-featured">[[File:{{#external_value:pageimage}}|260px|link={{#external_value:title}}]]</div>
<div class="card-text">
<div class="card-text">
<p class="byline">Featured article</p>
<p class="byline">Featured article</p>
<h3>[[{{#external_value:title}}]]</h3>
<h3>[[{{#external_value:title}}]]</h3>
{{#external_value:description}}
{{#external_value:description}}
</div> -->
<div class="card-image card-image-featured">[[File:Jonas-Hunter.png|260px|link=Jonas Hunter]]</div>
<div class="card-text">
<p class="byline">Featured Article</p>
<h3>[[Jonas Hunter]]</h3>
Thanks to his ability to siphon off Animus energy from the living, Jonas is one of the most powerful modern Methuselah in the world. By using this power, Jonas has become the leader of the Melachim warriors (descendants of the original Angelus) and the founder of OMEGA. With the help of OMEGA, Jonas will do whatever is necessary to save all life as we know it.
</div>
</div>
</div><templatestyles src="Template:METATRON Wiki/Featured article/styles.css" /></includeonly><noinclude>
 
</div>
<templatestyles src="Template:METATRON Wiki/Featured article/styles.css" /></includeonly><noinclude>
{{/doc}}<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --></noinclude>
{{/doc}}<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --></noinclude>

Latest revision as of 07:37, 18 October 2023

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:METATRON Wiki/Featured article/doc. Changes can be proposed in the talk page.
Description
This template is a component of the home page for showing featured article. It should only be used on the home page. To change the featured article, edit this template as instructed in wikitext. Description and image are automatically retrieved through API. To move the frame of the thumbnail, please edit the stylesheet of this template.