Difference between revisions of "Template:Orphan"

From Kerbal Space Program Wiki
Jump to: navigation, search
(first cut copied from wikipedia)
 
m (Orphan link now links to actual wiki page for orphaned articles rather than a real orphan)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Orphan |date=__DATE__ |$B=
+
{{Box|This page is an [[Wikipedia:Wikipedia:Orphan|orphan]], as no other articles link to it.}}
<!--One way to test whether a parameter was specified in a template call is thus: {{#ifeq:{{{few|}}}|{{{few|-}}} | few was specified (and may be empty) | few was not specified }}-->
+
 
<!--{{#if: {{{1|}}} | Parameter 1 is defined and non-null/non-empty. | Parameter 1 is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc.}}-->
+
[[Category:Orphaned articles]]
<!--If parameter multi is not defined, or is defined but null, hide ambox but keep orphan categories and allow ambox to be un-hidden.-->
+
 
{{#if: {{{multi|}}}|
+
<noinclude>
<!--If article could not be de-orphaned, hide ambox but keep orphan categories.-->
+
{{doc start}}
{{#if:{{{att|}}}|
+
Use this template only if no other pages on {{SITENAME}} link to this one. This template adds the page to [[:Category:Orphaned articles]].
<includeonly>[[Category:All orphaned articles]][[Category:Attempted de-orphan from {{{att|}}}]]</includeonly>
+
 
|{{Ambox
+
* {{tlx|Orphan|date=April 2014|}}
| name  = Orphan
+
[[Category:Templates]]
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
| type  = style<!--Style issues, such as {{cleanup}} and {{underlinked}}-->
 
| class = ambox-Orphan
 
| image = [[File:Wiki letter w.svg|50x40px]]
 
| all  = All orphaned articles
 
| sect  = article
 
| text = '''is an [[Wikipedia:Orphan|orphan]], as no other articles [{{fullurl:Special:Whatlinkshere|target={{PAGENAMEE}}&namespace=0}} link to it]'''. Please [[Help:Link|introduce links]] to this page from [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&redirs=1&search={{PAGENAMEU}}&fulltext=Search&ns0=1&title=Special%3ASearch&advanced=1&fulltext={{PAGENAMEU}} related articles]; try the [http://edwardbetts.com/find_link?q={{PAGENAMEE}} Find links tool] for suggestions.
 
| cat  = {{#ifeq:{{{few|}}}|{{{few|-}}} | Low linked articles | Orphaned articles }}
 
| date  = {{{date|}}}
 
}}
 
}}
 
|{{Ambox
 
| name  = Orphan
 
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
| type  = style<!--Style issues, such as {{cleanup}} and {{underlinked}}-->
 
| class = ambox-Orphan
 
| style = {{#switch: {{{date|}}} | {{Monthyear}} = | {{Monthyear-1}} = | display: none}}<!--Optional CSS value, specifies the style used by the entire message box table-->
 
| image = [[File:Wiki letter w.svg|50x40px]]
 
| all  = All orphaned articles
 
| sect  = article
 
| text = '''is an [[Wikipedia:Orphan|orphan]], as no other articles [{{fullurl:Special:Whatlinkshere|target={{PAGENAMEE}}&namespace=0}} link to it]'''. Please [[Help:Link|introduce links]] to this page from [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&redirs=1&search={{PAGENAMEU}}&fulltext=Search&ns0=1&title=Special%3ASearch&advanced=1&fulltext={{PAGENAMEU}} related articles]; try the [http://edwardbetts.com/find_link?q={{PAGENAMEE}} Find links tool] for suggestions.
 
| cat  = {{#if:{{{att|}}}|Attempted de-orphan|{{#ifeq:{{{few|}}}|{{{few|-}}} | Low linked articles | Orphaned articles }}}}
 
| date = {{{date|}}}
 
}}
 
}}
 
}}<noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:21, 18 October 2014

This page is an orphan, as no other articles link to it.


Documentation for Orphan

Use this template only if no other pages on Kerbal Space Program Wiki link to this one. This template adds the page to Category:Orphaned articles.