Difference between revisions of "Template:Flex columns/testcases"
Jump to navigation
Jump to search
imported>Evad37 (try a 3-column layout) |
imported>Evad37 |
||
| Line 3: | Line 3: | ||
{{Flex columns | {{Flex columns | ||
| − | |1=<!-- | + | |1=<!-- LEFT COLUMN --> |
{{Box-header colour|EDIT=yes|Selected article}} | {{Box-header colour|EDIT=yes|Selected article}} | ||
{{tlx|Transclude random excerpt}} | {{tlx|Transclude random excerpt}} | ||
| Line 20: | Line 20: | ||
:Same as {{tl|Random slideshow}}, but uses images from specified pages | :Same as {{tl|Random slideshow}}, but uses images from specified pages | ||
{{Box-footer}} | {{Box-footer}} | ||
| − | |||
| − | |||
{{Box-header colour|EDIT=yes|Selected quotation}} | {{Box-header colour|EDIT=yes|Selected quotation}} | ||
{{tlx|Random quotation}} | {{tlx|Random quotation}} | ||
:Shows a random quotation, from a specified set of quotations | :Shows a random quotation, from a specified set of quotations | ||
{{Box-footer}} | {{Box-footer}} | ||
| + | |||
| + | |2=<!-- SECOND COLUMN --> | ||
{{Box-header colour|EDIT=yes|In the news}} | {{Box-header colour|EDIT=yes|In the news}} | ||
{{tlx|Transclude selected current events}} | {{tlx|Transclude selected current events}} | ||
| Line 32: | Line 32: | ||
:Imports news from [[Wikinews]]. | :Imports news from [[Wikinews]]. | ||
{{Box-footer}} | {{Box-footer}} | ||
| − | |||
| − | |||
{{Box-header colour|EDIT=yes|Did you know...}} | {{Box-header colour|EDIT=yes|Did you know...}} | ||
{{tlx|Transclude selected recent additions}} | {{tlx|Transclude selected recent additions}} | ||
Latest revision as of 17:51, 27 July 2018
| This is the template test cases page for the sandbox of Template:Flex columns. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Page Template:Flex columns/styles.css has no content.
Selected article
- Same as {{Transclude lead excerpt}}, but specify multiple sources within the template call for alternating display; or
- Same again, but specify multiple sources by linking to them on a separate page or section
Selected anniversary
{{Transclude selected excerpt}}
- Shows a specific lead of an article for a specific time.
Selected pictures
{{Random slideshow}}
- Shows a slideshow gallery of specified files, in a randomised order
{{Transclude files as random slideshow}}
- Same as {{Random slideshow}}, but uses images from specified pages
Selected quotation
{{Random quotation}}
- Shows a random quotation, from a specified set of quotations
In the news
{{Transclude selected current events}}
- Shows news about a subject from Portal:Current events.
or User:JJMC89 bot/Wikinews importer
- Imports news from Wikinews.
Did you know...
{{Transclude selected recent additions}}
- Shows Did you know? items for a subject from Wikipedia:Recent additions.
or User:JL-Bot/Project content
- Can be customised to show a limited number of DYKs.
Categories
{{#tag:categorytree}}
- Shows an interactive category tree.
A category name may be used instead of{{PAGENAME}}, if the portal page name doesn't match the most relevant category.