Template:PortalArticle: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(3 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, | * <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>summary</nowiki></code> — a one line summary of what the article includes | |||
* <code><nowiki>description</nowiki></code> — a few sentences describing the gist of the article | |||
==Examples== | |||
<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.}}
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.