Template:User commentary: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(Formatting)
Tag: Manual revert
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{nosnippet}}<h2>User commentary</h2> __NOTOC__
<includeonly>{{nosnippet}}<h2>User commentary</h2> __NOTOC__
{|
{|
| {{switch|tag1=|tag2=user_commentary|switch1=[Show user commentary]|switch2=[Hide user commentary]|style1=color:#5b4918;|style2=color:#5b4918;}}
| {{switch_old|tag1=|tag2=user_commentary|switch1=[Show user commentary]|switch2=[Hide user commentary]|style1=color:#5b4918;|style2=color:#5b4918;}}
|-
|-
| {{switch_content|tag1=|tag2=user_commentary|content1=|content2=<span></span><div class="noprint" style="background-color:#F9F9F9; color:#000000; font-size:95%; padding:0.2em 0.2em 0.2em 2em; margin-bottom:1em; border:1px solid #b6b6b6;">''Some may find the information in this section subjective.''</div>{{{1|'''Need to fix one or more of these possible problems with the user commentary text:'''<br>{{-}}{{-}}{{*}} escape equals signs with <nowiki>{{=}} (not including the ones used to create section headings)</nowiki><br>{{-}}{{-}}{{*}} replace <nowiki><div style="clear:left;"></div></nowiki> with <nowiki>{{clear|left}}</nowiki>}}}
| {{switch_content_old|tag1=|tag2=user_commentary|content1=|content2=<span></span><div class="noprint" style="background-color:#F9F9F9; color:#000000; font-size:95%; padding:0.2em 0.2em 0.2em 2em; margin-bottom:1em; border:1px solid #b6b6b6;">''Some may find the information in this section subjective or irrelevant.''</div>
----
{{{1|'''Need to fix one or more of these possible problems with the user commentary text:'''<br>{{-}}{{-}}{{*}} escape equals signs with <nowiki>{{=}} (not including the ones used to create section headings)</nowiki><br>{{-}}{{-}}{{*}} replace <nowiki><div style="clear:left;"></div></nowiki> with <nowiki>{{clear|left}}</nowiki>}}}
----}}
----}}
|}{{end of nosnippet}}<noinclude>
|}{{end of nosnippet}}</includeonly><noinclude>
==Example without <nowiki>{{=}}</nowiki>==
{{user commentary|I think [[Hydra]]s r bad =)}}
==Example with <nowiki>{{=}}</nowiki>==
{{user commentary|I think [[Hydra]]s r bad {{=}})}}


[[Category:Templates]]</noinclude>
[[Category:Style templates]][[Category:User commentary]]</noinclude>

Latest revision as of 19:50, 21 February 2024

Example without {{=}}[edit]

User commentary

[Show user commentary]
[Hide user commentary]
Some may find the information in this section subjective or irrelevant.

Need to fix one or more of these possible problems with the user commentary text:
  • escape equals signs with {{=}} (not including the ones used to create section headings)
  • replace <div style="clear:left;"></div> with {{clear|left}}


Example with {{=}}[edit]

User commentary

[Show user commentary]
[Hide user commentary]
Some may find the information in this section subjective or irrelevant.

I think Hydras r bad =)