Difference between revisions of "Template:Help box"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</translate>" to "")
m (Text replacement - "<!--T:(.*)-->" to "")
Line 5: Line 5:
 
<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]] <span style="font-size:140%">&nbsp;&nbsp;&nbsp;'''<sub><!--T:2--> Immediate help</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]].
 
* <tvar|mediawiki-l>[[mail:mediawiki-l|mediawiki-l]]</>, the MediaWiki [[<tvar|ml>Special:MyLanguage/mailing lists</>|mailing list]].
  
<!--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.
  
 
* [[Project:Support desk]]
 
* [[Project:Support desk]]
  
:<small>''<!--T:5--> For more information about the above, please see <tvar|communication>{{ll|communication}}</>. {{{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
  
 
<pre>{{Help box}}</pre>
 
<pre>{{Help box}}</pre>
  
''<!--T:8--> Result: <small>(<!--T:9--> look to the right)</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
  
Line 45: Line 45:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
''<!--T:11--> Result: <small>(<!--T:12--> look to the right)</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
  
 
<pre>{{Help box|footnote=and [[Enterprise hub]]}}</pre>
 
<pre>{{Help box|footnote=and [[Enterprise hub]]}}</pre>
  
''<!--T:14--> Result: <small>(<!--T:15--> look to the right)</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>

Revision as of 14:31, 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