Template:Tag: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
[[{{{2|#}}}|<span class="tags1" href="" style="{{#if: {{{3}}} | background-color: {{{3}}};}}{{#if: {{{4}}} | color: {{{4}}};}}{{#if: {{{background-color}}} | background-color: {{{background-color}}};}}{{#if: {{{color}}} | background-color: {{{color}}};}}">{{{1}}}</span>]]<noinclude>
[[{{{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>]]<noinclude>


This is a template to display a tag.
This is a template to display a tag.
Line 5: Line 5:
  {{tag | Text | Page to link to | background colour | text colour}}
  {{tag | Text | Page to link to | background colour | text colour}}


  {{tag | Text | background-colour: blue | colour: white}}
  {{tag | Text | background-colour = blue | text-colour = white}}




Line 25: Line 25:
|-
|-
| <pre>{{tag|PS4|background-color:blue}}</pre>
| <pre>{{tag|PS4|background-color:blue}}</pre>
| {{tag|PS4|background-color:blue}}
| {{tag|PS4|background-color = blue|text-color:yellow}}
|-
|-



Revision as of 10:58, 7 December 2019

{{{1}}}

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|PS4|background-color:blue}}
PS4