Template:Event tabs/doc: Difference between revisions

Template page
Content added Content deleted
(updated documentation)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{Lua|Module:Event tabs}}
{{Lua|Module:Event tabs}}

This template adds, at minimum, links to the event page and event story page. Passing in "after live" and "after talk" as parameters adds tabs for after live (virtual live) and after talk pages, respectively.


== Parameters ==
== Parameters ==
Line 8: Line 10:
"params": {
"params": {
"event": {
"event": {
"type": "string"
"type": "string",
"label": "Event name",
"description": "The name of the event.",
"required": true
}
}
},
},
Line 16: Line 21:
</templatedata>
</templatedata>


==Quick copy==
== Quick copy ==
<pre>
<pre>
{{Event tabs
{{Event tabs|event = |after live|after talk}}
|event =
|after live
|after talk
}}
</pre>
</pre>


<includeonly>[[Category:Tabview templates]]</includeonly>
<includeonly>[[Category:Tabview templates]] [[Category:Event templates]]</includeonly>

Latest revision as of 03:48, 7 August 2022

This template adds, at minimum, links to the event page and event story page. Passing in "after live" and "after talk" as parameters adds tabs for after live (virtual live) and after talk pages, respectively.

Parameters[edit source]

Adds tabs to pages to link pages related to an event together.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Event nameevent

The name of the event.

Stringrequired

Quick copy[edit source]

{{Event tabs|event = |after live|after talk}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.