Difference between revisions of "Template:Portal subpage inline"

From blackwiki
Jump to navigation Jump to search
test>Andrybak
(Undid revision 962386937 by Andrybak (talk))
test>Andrybak
(remove prefix "* " if it exists (common in single-item DYK subpages))
Line 1: Line 1:
*[[{{FULLPAGENAME}}/{{{1|1}}}]]: {{ {{FULLPAGENAME}}/{{{1|1}}}}}<noinclude>
+
*[[{{FULLPAGENAME}}/{{{1|1}}}]]: {{#invoke:String|replace|source={{ {{FULLPAGENAME}}/{{{1|1}}}}}|* ||1}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:14, 13 June 2020

Template documentation[view] [edit] [history] [purge]

This template outputs an unordered list item linking to and transcluding a single subpage

Usage

{{Portal subpage inline|subpage name}}

Subpage name is usually a number. This template can also be used with {{Numbered subpages}}:

{{Numbered subpages|inline=yes|max=50}}

See also

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates