Jump to content

Template:Userspace linking templates/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Updated name of this template.
Usage: document new state parameters
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
{{userspace linking templates}}
{{userspace linking templates}}


; All parameters
; Intro parameters


{{userspace linking templates|heading=''no''|intro=''no''}}
{{userspace linking templates|heading=''no''|intro=''no''}}

; State parameters
The initial [[Template:Navbox#Setup parameters|state]] of collapsible elements can be controlled with <code>state</code> for the outer navbox and <code>state1</code>, <code>state2</code>, <code>state3</code>, <code>state4</code> for the four groups.

<code><nowiki>{{Userspace linking templates|heading=no|intro=no|state=expanded|state1=collapsed}}</nowiki></code> produces:
{{Userspace linking templates|heading=no|intro=no|state=expanded|state1=collapsed}}


== Parameters ==
== Parameters ==
Line 20: Line 26:




<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{Sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Documentation shared content templates]]
[[Category:Documentation shared content templates]]
[[Category:Username internal link templates| ]]
[[Category:Username internal link templates| ]]
[[Category:Documentation see also templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 12:28, 8 May 2023

This template shows all of the different user information templates available on Wikipedia.

Usage

[edit]
Basic usage
{{userspace linking templates}}
Intro parameters
{{userspace linking templates|heading=no|intro=no}}
State parameters

The initial state of collapsible elements can be controlled with state for the outer navbox and state1, state2, state3, state4 for the four groups.

{{Userspace linking templates|heading=no|intro=no|state=expanded|state1=collapsed}} produces:


Parameters

[edit]
  • heading - set |heading=no to hide the heading.
  • intro - set |intro=no to hide the introductory text.