Template:Upcoming inline: Difference between revisions

From VRChat Wiki
~Pausbe (talk | contribs)
add Inline Templates category
~Pausbe (talk | contribs)
Minor clean up for template, add nocat parameter
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
<includeonly>{{#if:{{{1|}}}-
| {{#if:{{{2|}}}
|{{#if:{{{2|}}}-
    | <sup>[upcoming [https://{{{2}}} {{{1}}}]]</sup>
|<sup>[upcoming [https://{{{2}}} {{{1}}}]]</sup>
    | <sup>[upcoming {{{1}}}]</sup>}}
|<sup>[upcoming {{{1}}}]</sup>}}
    | <sup>[upcoming]</sup>}} [[Category:Upcoming{{#translation:}}]]</includeonly><noinclude>{{Documentation}}[[Category:Templates{{#translation:}}]][[Category:Inline_Templates{{#translation:}}]]</noinclude>
|<sup>[upcoming]</sup>}}{{#ifeq: {{{nocat}}} | 1 |  | [[Category:Upcoming{{#translation:}}]]}}</includeonly><!--
 
--><noinclude>
{{Documentation}}
</noinclude>

Revision as of 04:48, 20 April 2026

Documentation

This template is used to tag additions as upcoming to text inline. It will also add an Upcoming category.

{{1}} is the text that will be displayed

{{2}} is the link that will be used for the text. It appends https:// automatically.

Example Usage

  • {{Upcoming_inline}} will make: [upcoming {{{1}}}]
  • {{Upcoming_inline|2025.3.2}} will make: [upcoming 2025.3.2]
  • {{Upcoming_inline|2025.3.2|docs.vrchat.com/docs/vrchat-202532}} will make: [upcoming 2025.3.2]