Template:Asbox: Difference between revisions
Dfinch1940 (talk | contribs) No edit summary |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<table class="metadata plainlinks stub" style="background: transparent;"><tr> | <table class="metadata plainlinks stub" style="background: transparent; margin-bottom: 0px;"><tr> | ||
{{#if:{{{icon|}}}{{{image|}}} | |||
<td style="vertical-align: middle;"> | |<td style="vertical-align: middle;">{{#if:{{{icon|}}} | ||
</tr></table | |{{{icon}}} | ||
|[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]] | |||
}}</td> | |||
}} | |||
<td style="vertical-align: middle;">''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[FamilySearch Wiki:stub|stub]]. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].'' {{{inline note|}}}{{#if:{{{note|}}} | |||
|<br /><span style="{{{notestyle|font-style: normal; font-size: smaller;}}}">{{{note}}} | |||
}}</td> | |||
</tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!-- | |||
*** Stub category *** | *** Stub category *** | ||
Line 12: | Line 19: | ||
*** Optional third stub category *** | *** Optional third stub category *** | ||
-->{{#if:{{{category2|}}}|[[Category:{{{category2}}}]]}}<!-- | -->{{#if:{{{category2|}}}|[[Category:{{{category2}}}]]}}<!-- | ||
-->}} | -->}}<!-- | ||
*** check for valid name parameter and transclude /templatepage on template page *** | *** check for valid name parameter and transclude /templatepage on template page *** | ||
-- | -->{{#if:{{{demo|<noinclude>yes</noinclude>}}} | ||
|<!--Demonstration version--> | |||
|{{#switch:{{FULLPAGENAME:{{{name|}}}}} | |||
|{{FULLPAGENAME}}=<!--Template page-->{{Asbox/templatepage | |||
|image = {{{image|}}} | |||
|pix = {{{pix|}}} | |||
|imagealt = {{{imagealt|}}} | |||
|icon = {{{icon|}}} | |||
|subject = {{{subject|}}} | |||
|article = {{{article|}}} | |||
|qualifier = {{{qualifier|}}} | |||
|category = {{{category|}}} | |||
|tempsort = {{{tempsort|}}} | |||
|category1 = {{{category1|}}} | |||
|tempsort1 = {{{tempsort1|}}} | |||
|category2 = {{{category2|}}} | |||
|tempsort2 = {{{tempsort2|}}} | |||
|note = {{{note|}}} | |||
|name = {{{name|}}} | |||
|doc = {{{doc| | |||
==General information== | |||
{{Stub documentation}} | |||
}}} | |||
}} | |||
|{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.--> | |||
|#default={{#ifeq:{{NAMESPACE}}|Template | |||
|<!--{{ombox | |||
|type=content | |type=content | ||
|text=It appears that the ''name'' parameter of this template is undefined or incorrect. If this is the stub template, please set {{para|name|{{FULLPAGENAME}}}}. If this is a demonstration please set {{para|demo|yes}}. | |text=It appears that the ''name'' parameter of this template is undefined or incorrect. If this is the stub template, please set {{para|name|{{FULLPAGENAME}}}}. If this is a demonstration please set {{para|demo|yes}}. | ||
}}-->[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]] | }}-->[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]] | ||
}} | |||
}} | |||
}}<noinclude> | |||
{{documentation}}[[Category:Article message boxes]] | |||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | |||
</noinclude> |
Latest revision as of 12:13, 2 July 2021
This article is a stub. You can help by expanding it. |
[create]
Template documentation

history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |