Difference between revisions of "Template:Help box"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<translate>" to "")
m (Text replacement - "</>" to "")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude><includeonly>{{#switch:</translate>
+
</noinclude><includeonly>{{#switch:
 
| =
 
| =
 
<table class="wikitable" style="margin:.4em; float:{{dir|{{pagelang}}|left|right}}">
 
<table class="wikitable" style="margin:.4em; float:{{dir|{{pagelang}}|left|right}}">
 
<tr>
 
<tr>
<td style="max-width:250px; text-align:center; padding:.4em; font-size:105%; background-color:#FFD1D1">[[File:FAQ icon.svg|45px|link=|<!--T:1--> Need immediate help</translate>]] <span style="font-size:140%">&nbsp;&nbsp;&nbsp;'''<sub><!--T:2--> Immediate help</translate></sub>'''</span></td>
+
<td style="max-width:250px; text-align:center; padding:.4em; font-size:105%; background-color:#FFD1D1">[[File:FAQ icon.svg|45px|link=| Need immediate help]] <span style="font-size:140%">&nbsp;&nbsp;&nbsp;'''<sub> Immediate help</sub>'''</span></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td style="padding:0 .4em .24em .4em; font-size:95%; max-width:200px">
 
<td style="padding:0 .4em .24em .4em; font-size:95%; max-width:200px">
  
<!--T:3-->
 
* <tvar|mediawiki-l>[[mail:mediawiki-l|mediawiki-l]]</>, the MediaWiki [[<tvar|ml>Special:MyLanguage/mailing lists</>|mailing list]].</translate>
 
  
<!--T:4-->
+
* <tvar|mediawiki-l>[[mail:mediawiki-l|mediawiki-l]], the MediaWiki [[<tvar|ml>Special:MyLanguage/mailing lists|mailing list]].
* <tvar|mw>[irc://irc.freenode.net/mediawiki #mediawiki]</> - the [[<tvar|irc>Special:MyLanguage/MediaWiki on IRC</>|IRC]] channel.
+
 
</translate>
+
 
 +
* <tvar|mw>[irc://irc.freenode.net/mediawiki #mediawiki] - the [[<tvar|irc>Special:MyLanguage/MediaWiki on IRC|IRC]] channel.
 +
 
 
* [[Project:Support desk]]
 
* [[Project:Support desk]]
  
:<small>''<!--T:5--> For more information about the above, please see <tvar|communication>{{ll|communication}}</>.</translate> {{{footnote|}}}''</small></td>
+
:<small>'' For more information about the above, please see <tvar|communication>{{ll|communication}}. {{{footnote|}}}''</small></td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 25: Line 25:
 
}}</includeonly><noinclude>{{Documentation|content=
 
}}</includeonly><noinclude>{{Documentation|content=
  
=== Usage examples === <!--T:6-->
+
=== Usage examples ===  
 +
 
  
<!--T:7-->
 
 
General usage
 
General usage
</translate>
+
 
 
<pre>{{Help box}}</pre>
 
<pre>{{Help box}}</pre>
  
''<!--T:8--> Result</translate>: <small>(<!--T:9--> look to the right</translate>)</small>''
+
'' Result: <small>( look to the right)</small>''
 
{{Help box}}
 
{{Help box}}
  
 
{{clear}}
 
{{clear}}
  
<!--T:10-->
+
 
 
Add up to five additional resources
 
Add up to five additional resources
</translate>
+
 
  
 
<syntaxhighlight lang="text" enclose="div">
 
<syntaxhighlight lang="text" enclose="div">
Line 45: Line 45:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
''<!--T:11--> Result</translate>: <small>(<!--T:12--> look to the right</translate>)</small>''
+
'' Result: <small>( look to the right)</small>''
 
{{Help box|[[mail:mediawiki-enterprise|mediawiki-enterprise]], the MediaWiki [[mailing lists|mailing list]] for [[Manual:Glossary#Enterprise|enterprise wikis]].}}
 
{{Help box|[[mail:mediawiki-enterprise|mediawiki-enterprise]], the MediaWiki [[mailing lists|mailing list]] for [[Manual:Glossary#Enterprise|enterprise wikis]].}}
  
 
{{clear}}
 
{{clear}}
  
<!--T:13-->
+
 
 
Add to the footnote
 
Add to the footnote
</translate>
+
 
 
<pre>{{Help box|footnote=and [[Enterprise hub]]}}</pre>
 
<pre>{{Help box|footnote=and [[Enterprise hub]]}}</pre>
  
''<!--T:14--> Result</translate>: <small>(<!--T:15--> look to the right</translate>)</small>''
+
'' Result: <small>( look to the right)</small>''
 
{{Help box|footnote=and the [[enterprise hub]]}}
 
{{Help box|footnote=and the [[enterprise hub]]}}
  
 
[[Category:Info templates{{#translation:}}|{{PAGENAME}}]]
 
[[Category:Info templates{{#translation:}}|{{PAGENAME}}]]
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 15:59, 21 December 2019


Template documentation

Usage examples

General usage

{{Help box}}

Result: ( look to the right)

Need immediate help     Immediate help


  • <tvar


Add up to five additional resources


{{Help box|[[mail:mediawiki-enterprise|mediawiki-enterprise]], the MediaWiki [[mailing lists|mailing list]] for [[Manual:Glossary#Enterprise|enterprise wikis]].}}

Result: ( look to the right)

Need immediate help     Immediate help


  • <tvar


Add to the footnote

{{Help box|footnote=and [[Enterprise hub]]}}

Result: ( look to the right)

Need immediate help     Immediate help


  • <tvar