Jump to content

Template:Orphan: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Changes to support hiding the {{Orphan}} message under certain circumstances; see Template talk:Orphan#Yes, and preceding discussions
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Orphan |date=__DATE__ |$B=
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Orphan |date=__DATE__ |$B=
<!--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 }}-->
<!--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.}}-->
<!--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|}}}|
<!--If article could not be de-orphaned, hide ambox but keep orphan categories.-->
<!--If article could not be de-orphaned, hide ambox but keep orphan categories.-->
{{#if:{{{att|}}}|
{{#if:{{{att|}}}|
Line 7: Line 10:
| name = Orphan
| name = Orphan
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| type = style<!--Style issues, such as {{cleanup}} and {{underlinked}}-->
| type = style
| class = ambox-Orphan
| class = ambox-Orphan
| image = [[File:Wiki letter w.svg|50x40px]]
| image = [[File:Wiki letter w.svg|50x40px]]
Line 14: Line 17:
| 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.
| 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 }}
| 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|}}}
| date = {{{date|}}}
}}
}}

Revision as of 12:07, 28 March 2014