Difference between revisions of "Template:Help box"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<translate>" to "")
m (Text replacement - "</translate>" to "")
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=|<!--T:1--> Need immediate help]] <span style="font-size:140%">&nbsp;&nbsp;&nbsp;'''<sub><!--T:2--> Immediate help</sub>'''</span></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 11: Line 11:
  
 
<!--T:3-->
 
<!--T:3-->
* <tvar|mediawiki-l>[[mail:mediawiki-l|mediawiki-l]]</>, the MediaWiki [[<tvar|ml>Special:MyLanguage/mailing lists</>|mailing list]].</translate>
+
* <tvar|mediawiki-l>[[mail:mediawiki-l|mediawiki-l]]</>, the MediaWiki [[<tvar|ml>Special:MyLanguage/mailing lists</>|mailing list]].
  
 
<!--T:4-->
 
<!--T:4-->
 
* <tvar|mw>[irc://irc.freenode.net/mediawiki #mediawiki]</> - the [[<tvar|irc>Special:MyLanguage/MediaWiki on IRC</>|IRC]] channel.
 
* <tvar|mw>[irc://irc.freenode.net/mediawiki #mediawiki]</> - the [[<tvar|irc>Special:MyLanguage/MediaWiki on IRC</>|IRC]] channel.
</translate>
+
 
 
* [[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>''<!--T:5--> For more information about the above, please see <tvar|communication>{{ll|communication}}</>. {{{footnote|}}}''</small></td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 29: Line 29:
 
<!--T:7-->
 
<!--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>''
+
''<!--T:8--> Result: <small>(<!--T:9--> look to the right)</small>''
 
{{Help box}}
 
{{Help box}}
  
Line 39: Line 39:
 
<!--T:10-->
 
<!--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>''
+
''<!--T:11--> Result: <small>(<!--T:12--> 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]].}}
  
Line 52: Line 52:
 
<!--T:13-->
 
<!--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>''
+
''<!--T:14--> Result: <small>(<!--T:15--> 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>

Revision as of 04:34, 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