Jump to content

Template:Tag: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
[[{{{link|#}}}|<span class="tags1" href="" style="{{#if: {{{2}}} | background-color: {{{2}}};}}{{#if: {{{3}}} | color: {{{3}}};}}{{#if: {{{background-color}}} | background-color: {{{background-color}}};}}{{#if: {{{color}}} | background-color: {{{color}}};}}">{{{1}}}</span>]]
[[{{{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>
 
This is a template to display a tag.
 
{{tag | Text | Page to link to | background colour | text colour}}
 
{{tag | Text | background-colour: blue | 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}}</pre>
| {{tag|PS4|background-color:blue}}
|-
 
|}
 
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.