Difference between revisions of "Template:Currentlybox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(add see also)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 24: Line 24:
 
{{t|currently}}, which is the right-floating variant of this template.
 
{{t|currently}}, which is the right-floating variant of this template.
  
−
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:WikiProject user templates|CurrentlyBox]]
 
[[Category:WikiProject user templates|CurrentlyBox]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:35, 24 April 2020

Parameter options

  • |nopic=yes will suppress the image (which displays by default)
  • |nocat=yes will disable categories (which only display if the category exists)
  • |wplink=yes will link the text to the Wikipedia: space (see below)

Linking to the WP: space

Participants in a WikiProject may wish to link to the project they're involved with, but also add their name to the membership category, using this template.

{{currentlybox|WikiProject Cue sports|wplink=yes}} gives an output of

45pxThis user is currently working on
WikiProject Cue sports.

while {{currentlybox|WikiProject Cue sports}} does not:

45pxThis user is currently working on
WikiProject Cue sports.

However, both uses will place the page into Category:WikiProject Cue sports participants

Note that {{currentlybox|[[WP:WikiProject Cue sports|WikiProject Cue sports]]}} displays as

45pxThis user is currently working on
WikiProject Cue sports.

but will not place the user in Category:WikiProject Cue sports participants.

See also

Template:T, which is the right-floating variant of this template.