Difference between revisions of "Template:Help box"

From RobotX
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "<translate>" to "")
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude><includeonly>{{#switch:<translate></translate>
+
</noinclude><includeonly>{{#switch:</translate>
 
| =
 
| =
 
<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=|<translate><!--T:1--> Need immediate help</translate>]] <span style="font-size:140%">&nbsp;&nbsp;&nbsp;'''<sub><translate><!--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</translate>]] <span style="font-size:140%">&nbsp;&nbsp;&nbsp;'''<sub><!--T:2--> Immediate help</translate></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">
<translate>
+
 
 
<!--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]].</translate>
<translate>
+
 
 
<!--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.
Line 18: Line 18:
 
* [[Project:Support desk]]
 
* [[Project:Support desk]]
  
:<small>''<translate><!--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}}</>.</translate> {{{footnote|}}}''</small></td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 24: Line 24:
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Help box|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Help box|noshift=1}}
 
}}</includeonly><noinclude>{{Documentation|content=
 
}}</includeonly><noinclude>{{Documentation|content=
<translate>
+
 
 
=== Usage examples === <!--T:6-->
 
=== Usage examples === <!--T:6-->
  
Line 32: Line 32:
 
<pre>{{Help box}}</pre>
 
<pre>{{Help box}}</pre>
  
''<translate><!--T:8--> Result</translate>: <small>(<translate><!--T:9--> look to the right</translate>)</small>''
+
''<!--T:8--> Result</translate>: <small>(<!--T:9--> look to the right</translate>)</small>''
 
{{Help box}}
 
{{Help box}}
  
 
{{clear}}
 
{{clear}}
<translate>
+
 
 
<!--T:10-->
 
<!--T:10-->
 
Add up to five additional resources
 
Add up to five additional resources
Line 45: Line 45:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
''<translate><!--T:11--> Result</translate>: <small>(<translate><!--T:12--> look to the right</translate>)</small>''
+
''<!--T:11--> Result</translate>: <small>(<!--T:12--> look to the right</translate>)</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}}
<translate>
+
 
 
<!--T:13-->
 
<!--T:13-->
 
Add to the footnote
 
Add to the footnote
Line 55: Line 55:
 
<pre>{{Help box|footnote=and [[Enterprise hub]]}}</pre>
 
<pre>{{Help box|footnote=and [[Enterprise hub]]}}</pre>
  
''<translate><!--T:14--> Result</translate>: <small>(<translate><!--T:15--> look to the right</translate>)</small>''
+
''<!--T:14--> Result</translate>: <small>(<!--T:15--> look to the right</translate>)</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:04, 21 December 2019


Template documentation

Usage examples

General usage </translate>

{{Help box}}

Result</translate>: ( look to the right</translate>)

Need immediate help    Immediate help
For more information about the above, please see communication .

Add up to five additional resources </translate>

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

Result</translate>: ( look to the right</translate>)

Need immediate help    Immediate help
For more information about the above, please see communication .

Add to the footnote </translate>

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

Result</translate>: ( look to the right</translate>)

Need immediate help    Immediate help
For more information about the above, please see communication . and the enterprise hub