Template:PortalArticle: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
mNo edit summary
No edit summary
Line 2: Line 2:
<div class="articleSummaryInner">
<div class="articleSummaryInner">
<div class="articleSummaryStar"></div>
<div class="articleSummaryStar"></div>
<div class="articleSummaryImage">{{{image}}}</div>
<div class="articleSummaryImage">[[File:{{{image}}}|150px]]</div>
<div class="articleSummaryTitle"><span class="articleSummaryTitleInner">[[{{{title}}}]]</span></div>
<div class="articleSummaryTitle"><span class="articleSummaryTitleInner">[[{{{title}}}]]</span></div>
<div class="articleSummaryText">
<div class="articleSummaryText">
Line 22: Line 22:
This template requires four parameters
This template requires four parameters


* <code><nowiki>image</nowiki></code> — the image to be included in the description, please include an image size of 150 px for proper formatting
* <code><nowiki>image</nowiki></code> — the image to be included in the description, image will be formatted to 150 px  


* <code><nowiki>title</nowiki></code> — the title of the article, must match the article title exactly to link correctly
* <code><nowiki>title</nowiki></code> — the title of the article, must match the article title exactly to link correctly
Line 31: Line 31:


==Examples==
==Examples==
<nowiki>{{PortalArticle|image=[[File:Geocentrism2.jpg|150px]]|title=Geocentrism and the Quran|summary=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too|description=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too.}}</nowiki>
<nowiki>{{PortalArticle|image=Geocentrism2.jpg|title=Geocentrism and the Quran|summary=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too|description=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too.}}</nowiki>
{{PortalArticle|image=[[File:Geocentrism2.jpg|150px]]|title=Geocentrism and the Quran|summary=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too|description=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too.}}
{{PortalArticle|image=Geocentrism2.jpg|title=Geocentrism and the Quran|summary=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too|description=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too.}}






</noinclude>
</noinclude>

Revision as of 09:58, 5 February 2021

[[File:{{{image}}}|150px]]
[[{{{title}}}]]

{{{summary}}}

{{{description}}}


Portal Article

Template for an article for use in portal including an image and summary.

Usage

This template requires four parameters

  • image — the image to be included in the description, image will be formatted to 150 px
  • title — the title of the article, must match the article title exactly to link correctly
  • summary — a one line summary of what the article includes
  • description — a few sentences describing the gist of the article

Examples

{{PortalArticle|image=Geocentrism2.jpg|title=Geocentrism and the Quran|summary=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too|description=The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too.}}

Error creating thumbnail: Unable to save thumbnail to destination

The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too

The Qur'an mentions a few times that the sun and the moon travel in an orbit (falak - a rounded course), but does not mention once that the Earth does too.