Template:PediatricPage: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly><translate><!--T:15-->
<noinclude>
''This page is for <u>pediatric</u> patients. For adult patients, see: </translate>{{#if:{{{1|}}}|[[Special:MyLanguage/{{{1}}}|{{{1}}}]]}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and/or }}[[Special:MyLanguage/{{{2}}}|{{{2}}}]]}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and/or }}[[Special:MyLanguage/{{{3}}}|{{{3}}}]]}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |, and/or }}[[Special:MyLanguage/{{{4}}}|{{{4}}}]]}}{{#if:{{{5|}}}|, and/or [[Special:MyLanguage/{{{5}}}|{{{5}}}]]}}''</includeonly><noinclude>
<!-- The language bar is inside noinclude so it ONLY appears on the Template page,
 
    not on the pages where the template is used. --><languages /></noinclude><includeonly><translate><!--T:15-->
<!-- intro text -->
''This page is for <u>pediatric</u> patients. For adult patients, see: </translate><!--
  LINK 1 (Always required)
-->[[Special:MyLanguage/{{{1}}}|{{{1}}}]]<!--
  LINK 2
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |<translate> and/or </translate>}}[[Special:MyLanguage/{{{2}}}|{{{2}}}]]}}<!--
  LINK 3
-->{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{3}}}|{{{3}}}]]}}<!--
  LINK 4
-->{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{4}}}|{{{4}}}]]}}<!--
  LINK 5
-->{{#if:{{{5|}}}|{{#if:{{{6|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{5}}}|{{{5}}}]]}}<!--
  LINK 6
-->{{#if:{{{6|}}}|{{#if:{{{7|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{6}}}|{{{6}}}]]}}<!--
  LINK 7
-->{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{7}}}|{{{7}}}]]}}<!--
  LINK 8 (Max items, always ends with oxford comma logic if present)
-->{{#if:{{{8|}}}|<translate>, and/or </translate>[[Special:MyLanguage/{{{8}}}|{{{8}}}]]}}''</includeonly><noinclude>
== Usage ==
== Usage ==
{{PediatricPage|Appendicitis}}
{{PediatricPage|Appendicitis|Abdominal_pain}}
{{PediatricPage|Page1|Page2|Page3}}


This template creates links to specified adult pages and should be used on the top of PEDIATRIC pages.
This template creates a simple link (or list of links) to specified adult pages and should be used on the top of PEDIATRIC pages. It supports up to 8 pages.


=== Parameters ===
=== Parameters ===
* '''1, 2, 3...''' - The titles of the adult pages to link to (up to 5)
* '''1''' - The title of the first page to link to.
* '''2...8''' - (Optional) Additional page titles.
 
=== Example ===
'''Single page:'''
: <code><nowiki>{{PediatricPage|Appendicitis}}</nowiki></code>
: Result: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis''


=== Examples ===
'''Two pages:'''
; Single page:
: <code><nowiki>{{PediatricPage|Appendicitis|Abdominal pain}}</nowiki></code>
: {{PediatricPage|Appendicitis}}
: Result: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis and/or Abdominal pain''
: Output: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis''


; Two pages:
'''Multiple pages:'''
: {{PediatricPage|Appendicitis|Abdominal_pain}}
: <code><nowiki>{{PediatricPage|Appendicitis|Abdominal pain|Fever}}</nowiki></code>
: Output: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis and/or Abdominal_pain''
: Result: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis, Abdominal pain, and/or Fever''


; Three pages:
: {{PediatricPage|Page1|Page2|Page3}}
: Output: ''This page is for <u>pediatric</u> patients. For adult patients, see: Page1, Page2, and/or Page3''
</noinclude>
</noinclude>

Revision as of 20:11, 15 January 2026


Usage

This template creates a simple link (or list of links) to specified adult pages and should be used on the top of PEDIATRIC pages. It supports up to 8 pages.

Parameters

  • 1 - The title of the first page to link to.
  • 2...8 - (Optional) Additional page titles.

Example

Single page:

{{PediatricPage|Appendicitis}}
Result: This page is for pediatric patients. For adult patients, see: Appendicitis

Two pages:

{{PediatricPage|Appendicitis|Abdominal pain}}
Result: This page is for pediatric patients. For adult patients, see: Appendicitis and/or Abdominal pain

Multiple pages:

{{PediatricPage|Appendicitis|Abdominal pain|Fever}}
Result: This page is for pediatric patients. For adult patients, see: Appendicitis, Abdominal pain, and/or Fever