Template:Tag: Difference between revisions

No edit summary
(Moving to /doc)
Line 1: Line 1:
<span class="tagspan">[[{{{2|#}}}|<span class="tags1" href="" style="{{#if: {{{3}}} | background-color: {{{3}}};}}{{#if: {{{4}}} | color: {{{4}}};}}{{#if: {{{background-color}}} | background-color: {{{background-color}}};}}{{#if: {{{text-color}}} | color: {{{text-color}}};}}">{{{1}}}</span>]]</span><noinclude>
<span class="tagspan">[[{{{2|#}}}|<span class="tags1" href="" style="{{#if: {{{3}}} | background-color: {{{3}}};}}{{#if: {{{4}}} | color: {{{4}}};}}{{#if: {{{background-color}}} | background-color: {{{background-color}}};}}{{#if: {{{text-color}}} | color: {{{text-color}}};}}">{{{1}}}</span>]]</span><noinclude>{{doc}}</noinclude>
 
This is a template to display a tag.
 
{{tag | Text | Page to link to | background colour | text colour}}
 
{{tag | Text | background-colour = blue | text-colour = white}}
 
 
Only text is required
 
 
'''Examples'''
 
{| class = wikitable
 
| <pre>{{tag|PS4}}</pre>
| {{tag|PS4}}
|-
| <pre>{{tag|PS4|PlayStation 4}}</pre>
| {{tag|PS4|PlayStation4}}
|-
| <pre>{{tag|PS4|PlayStation 4|blue|white}}</pre>
| {{tag|PS4|PlayStation 4|blue|white}}
|-
| <pre>{{tag|PS4|background-color = blue|text-color = yellow}}</pre>
| {{tag|PS4|background-color = blue|text-color = yellow}}
|-
 
|}
 
</noinclude>

Revision as of 18:34, 29 August 2022

{{{1}}}

This documentation is imported from Template:Tag/doc


This is a template to display a tag.

 Text 
 Text 


Only text is required


Examples

{{tag|PS4}}
PS4
{{tag|PS4|PlayStation 4}}
PS4
{{tag|PS4|PlayStation 4|blue|white}}
PS4
{{tag|Mac|Apple Mac 4|white|black|black}}
Mac
{{tag|PS4|background-color = blue|text-color = yellow}}
PS4