90,866
edits
(Created page with '{{Template category/{{Fallback|Template category}}|1={{{1|}}}|2={{{2|}}}|description={{{description|}}}|type={{{type|}}}|shortcut={{{shortcut|}}}}}<includeonly>{{#switch:{{{1}}} …') |
(update template to use code from wikipedia as opposed to commons) |
||
Line 1: | Line 1: | ||
{{Template | {{Cmbox | ||
|type = notice | |||
| | |image = [[Image:Curly Brackets.png|44px|Template braces|link=]] | ||
}}</includeonly><noinclude> | |text = <div> | ||
{{ | <table style="width:98%; background:none;" cellspacing="0"> | ||
<!-------------------- topic/description/portal ---------------------> | |||
{{#if:{{{topic|}}}{{{description|}}} | |||
| <tr style="background:#D5E4ED; font-size:1.2em; line-height:1.1em;"> | |||
<td style="border:1px solid #aaa;{{#if:{{{portal|}}} |border-right:none;}} padding:0.4em"><!-- | |||
-->{{#if: {{{topic|}}} |'''Templates relating to {{{topic}}}.''' }}<!-- | |||
-->{{{1|}}}{{{description|}}} | |||
</tr> | |||
}} | |||
<!------------------------------ type -------------------------------> | |||
<tr> | |||
<td colspan="2"<!--(in case {{{portal}}} used)--> style="line-height:1.3em;"><!-- | |||
-->{{#if:{{{type|}}} | |||
| <div style="padding-top:0.3em; font-size:95%;">'''The pages listed in this category are meant to be <!-- | |||
-->{{#switch:{{{type}}} | |||
|ambox = [[FamilySearch Wiki:Article message boxes|article message box (ambox)]] templates.''' | |||
|campaignbox = [[FamilySearch Wiki:WikiProject Military history/Style guide#Campaignboxes|campaignbox]] templates.''' | |||
|conversion = templates that perform conversions.''' | |||
|external link = templates providing [[FamilySearch Wiki:External links|external links]].''' | |||
|formatting = templates that provide formatting.''' | |||
|function = function templates''', i.e. templates that produce text, images or other elements. | |||
|infobox = [[Help:Infobox|infobox]] templates.''' | |||
|meta = metatemplates.''' | |||
|navbox = [[FamilySearch Wiki:Navigation templates|navigational (navbox) templates]].'''<div style="padding:0.15em 0; line-height:1.35em;">If subcategories exist for other types of templates (e.g. [[Help:Infobox|infobox]]es) that relate to this topic, they should appear at the start of the subcategories listing immediately below this messagebox.</div> | |||
|stub = [[FamilySearch Wiki:WikiProject Stub sorting/Stub types|stub]] templates.''' | |||
|timeline = [[FamilySearch Wiki:Timeline|timeline]] templates.''' | |||
|userbox = [[FamilySearch Wiki:Userboxes|userbox]] templates.''' | |||
|#default = {{{1|{{{description|}}}}}} ''' | |||
|{{{type}}} templates.''' | |||
}}<!--end switch type, the line above rather unclear [how?] | |||
--></div> | |||
| <div style="font-size:95%;">'''The pages listed in this category are [[FamilySearch Wiki:Templates|templates]].''' <div style="padding:0.15em 0; line-height:1.3em;">This page is part of [[:Category:FamilySearch Wiki administration|FamilySearch Wiki's administration]] and not part of the encyclopedia.</div></div> {{#if:{{{ALTTEXT|}}} |<br/><hr/>{{{ALTTEXT}}}<hr/>}} | |||
}} | |||
<!---------------- Further template category notes ----------------> | |||
<table class="collapsible collapsed" style="width:100%; padding-top:0.25em; background:transparent; line-height:1.3em; font-size:90%;"> | |||
<tr><th style="border-bottom:1px solid #aaa; text-align:left;">{{resize|110%|Further template category notes}}</tr> | |||
<tr><td style="padding-top:0.25em;">'''This [[Help:Category|category]] contains pages in the [[FamilySearch Wiki:Template namespace|template namespace]].''' It should not be used to categorize [[FamilySearch Wiki:What is an article?|articles]] or pages in other [[Help:Namespace|namespaces]].</tr> | |||
<tr>{{#if:{{{help|}}}{{{2|}}}{{{container|}}} | |||
| {{#ifeq:{{{help|}}}| no | |<td style="border-top:1px solid #aaa">{{#ifeq:{{{container|}}}|yes|'''Do not add templates to this category: instead, use the appropriate sub-category.'''|{{{help}}}}}</td>}} | |||
| <td style="padding-bottom:0.5em; border-top:1px solid #aaa;">To include a template in this category, add <br/><code style="background:transparent; font-size:110%; overflow:auto;"><nowiki><noinclude>[[</nowiki>{{FULLPAGENAME}}<!-- | |||
--><nowiki>]]</noinclude></nowiki></code><br/>to the end of the template code, making sure it starts on the same line as the last character of the code.</td></tr> | |||
}} | |||
</table> | |||
</table></div> | |||
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}}|{{{category|[[Category:FamilySearch Wiki template categories]]}}}}}</includeonly><noinclude> | |||
{{documentation}} | |||
<!---Please add metadata (categories, interwikis) to the <includeonly> section at | |||
the bottom of the /doc subpage, not here; thank you.---> | |||
</noinclude> | </noinclude> |
edits