Template:PortalArticle: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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">
{{{summary}}}
{{{summary}}}
<div class="articleSummaryExtendedDescription">
<div class="articleSummaryExtendedDescription">
{{{description}}}</div>
{{{description}}}</div>
Line 13: Line 12:
</div>
</div>
</div>
</div>
<noinclude>
<noinclude>


Line 22: Line 20:
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 30: Line 28:
* <code><nowiki>description</nowiki></code> — a few sentences describing the gist of the article
* <code><nowiki>description</nowiki></code> — a few sentences describing the gist of the article


==Sample==
==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=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>

Latest revision as of 01:50, 7 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.}}

Geocentrism2.jpg

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.