Template:MainPage/Vector/Featured article: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mNo edit summary
Tags: Reverted 2017 source edit
mNo edit summary
Tags: Reverted 2017 source edit
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=<!--


Line 17: Line 17:
}}<div class="card" id="featured_article">
}}<div class="card" id="featured_article">
     <div class="card-image card-image-featured">
     <div class="card-image card-image-featured">
      [[File:Polytechnic_Institute_of_Viana_do_Castelo.jpg|link=Special:MyLanguage/{{#external_value:title}}|class=featured-image|frameless|upright=1.5]]
        [[File:Polytechnic_Institute_of_Viana_do_Castelo.jpg|link=Special:MyLanguage/{{#external_value:title}}|class=featured-image|frameless]]
     </div>
     </div>
     <div class="card-text">
     <div class="card-content">
         <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}}
         <div class="card-text">{{#external_value:description}}</div>
     </div>
     </div>
</div>
</div>
</div><templatestyles src="MainPage/Vector/Featured article/styles.css" /></includeonly><noinclude>
 
<templatestyles src="MainPage/Vector/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>

Revision as of 23:39, 31 July 2024