Template:Featured page: Difference between revisions

m (Added category)
No edit summary
 
Line 14: Line 14:
{{{text|}}}
{{{text|}}}
</div><div class="featured-page-more">[[{{{page|}}}|{{#if: {{{more|}}} | {{{more}}} | Read more...}} ]]</div></div><!--/featured-page-info--></div></includeonly>
</div><div class="featured-page-more">[[{{{page|}}}|{{#if: {{{more|}}} | {{{more}}} | Read more...}} ]]</div></div><!--/featured-page-info--></div></includeonly>
 
<noinclude>[[Category:Template]]</noinclude>
[[Category:Template]]

Latest revision as of 13:07, 4 February 2021

This template is used to render a standard Featured page UI element, eg. for the homepage. Its usage is as follows


{{Featured page
| page = The Exact Name of the Page
| title = The display title used in the featured item
| image = An image name (without the preceeding File: or Image: namespace) eg. shakespeare_01.jpg
| text = The text that will be displayed for the featured item.
| more = The text used for the "read more" link beneath the text
| image width = (Optional) The width of the image, defaults to 120px
}}