Template:Portal bar/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Moxy Let's make clear what is need fir mobile view |
meta>Jay D. Easy is non-tranclusion on mobile such a pressing matter that it justifies a header warning? |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{High-use|76388}} | {{High-use|76388}} | ||
{{Warning|{{strong|This template does not belong in the "See also" section.}} Per [[MOS:SECTIONORDER]], this template is bottom matter and goes below standard navigation templates, and above geographical coordinates and authority control templates.}} | {{Warning|{{strong|This template does not belong in the "See also" section.}} Per [[MOS:SECTIONORDER]], this template is bottom matter and goes below standard navigation templates, and above geographical coordinates and authority control templates.}} | ||
The primary purpose of this template is for when using {{ | The primary purpose of this template is for when using {{tlx|portal}} would cause formatting problems. This template forms a horizontal bar instead of a vertical, sidebar-like template. Please note that this template {{strong|[[MOS:ORDER|does not belong]]}} in the "See also" section. | ||
{{Lua|Module:Portal bar}} | {{Lua|Module:Portal bar}} | ||
== Usage == | == Usage == | ||
{{xref|See {{section link|Module:Portal|Image}} on how to add, update, or remove portal images.}} | |||
{{ | |||
=== Border === | |||
To add the template to a page: | |||
: → <code><nowiki>{{Portal bar|Biology|Fungi|Plants|Science}}</nowiki></code> | |||
{{Portal bar|Biology|Fungi|Plants|Science}} | {{Portal bar|Biology|Fungi|Plants|Science}} | ||
== | === No border === | ||
For a version with no border that can be seen in [[WP:MOBILE|mobile view]]: | |||
{{Portal | : → <code><nowiki>{{Portal bar|Biology|Fungi|Plants|Science|border=n}}</nowiki></code> | ||
{{Portal bar|Biology|Fungi|Plants|Science|border=n}} | |||
== TemplateData == | == TemplateData == | ||
{{Collapse top|[[ | {{Collapse top|[[WP:TemplateData|TemplateData]] documentation used by [[WP:VisualEditor|VisualEditor]] and other tools}} | ||
{{TemplateData header|noheader=1}} | {{TemplateData header|noheader=1}} | ||
<templatedata> | <templatedata> | ||
Line 84: | Line 56: | ||
</templatedata> | </templatedata> | ||
{{Collapse bottom}} | {{Collapse bottom}} | ||
== See also == | |||
* {{tl|Subject bar}} | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
[[Category:Exclude in print]] | |||
[[Category:Internal link templates]] | [[Category:Internal link templates]] | ||
[[Category:Wikipedia Portal navflags]] | [[Category:Wikipedia Portal navflags]] | ||
}}</includeonly> | }}</includeonly> |
Revision as of 21:28, 23 July 2019
This is a documentation subpage for Template:Portal bar. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 114,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template does not belong in the "See also" section. Per MOS:SECTIONORDER, this template is bottom matter and goes below standard navigation templates, and above geographical coordinates and authority control templates. |
The primary purpose of this template is for when using {{portal}}
would cause formatting problems. This template forms a horizontal bar instead of a vertical, sidebar-like template. Please note that this template does not belong in the "See also" section.
This template uses Lua: |