Template:AdultPage: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly><translate><!--T:8-->
<includeonly>''This page is for <u>adult</u> patients. For pediatric patients, see: [[{{{1}}}]]<!--
''This page is for <u>adult</u> patients. For pediatric 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>
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}]]}}<!--
 
-->{{#if:{{{3|}}}|,&#32;and&#32;[[{{{3}}}]]}}''</includeonly><noinclude>
== Usage ==
== Usage ==
{{AdultPage|Appendicitis_(peds)}}
This template creates a customized disclaimer linking to up to 3 pediatric pages. It should be placed at the top of ADULT pages.
{{AdultPage|Appendicitis_(peds)|Abdominal_pain_(peds)}}
{{AdultPage|Page1|Page2|Page3}}


This template creates links to specified pediatric pages and should be used on the top of an ADULT page.
; One link
: {{AdultPage|Appendicitis}}
; Two links
: {{AdultPage|Appendicitis|Abdominal Pain}}
; Three links
: {{AdultPage|Appendicitis|Abdominal Pain|Sepsis}}


=== Parameters ===
=== Parameters ===
* '''1, 2, 3...''' - The titles of the pediatric pages to link to (up to 5)
* '''1''' - (Required) Title of the first adult page.
 
* '''2''' - (Optional) Title of the second adult page.
=== Examples ===
* '''3''' - (Optional) Title of the third adult page.
; Single page:
: {{AdultPage|Appendicitis_(peds)}}
: Output: ''This page is for <u>adult</u> patients. For pediatric patients, see: Appendicitis_(peds)''


; Two pages:
=== Example ===
: {{AdultPage|Appendicitis_(peds)|Abdominal_pain_(peds)}}
{{AdultPage|Appendicitis|Sepsis}}
: Output: ''This page is for <u>adult</u> patients. For pediatric patients, see: Appendicitis_(peds) and/or Abdominal_pain_(peds)''


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

Revision as of 20:38, 15 January 2026

Usage

This template creates a customized disclaimer linking to up to 3 pediatric pages. It should be placed at the top of ADULT pages.

One link
This page is for adult patients. For pediatric patients, see: Appendicitis
Two links
This page is for adult patients. For pediatric patients, see: Appendicitis and Abdominal Pain
Three links
This page is for adult patients. For pediatric patients, see: Appendicitis, Abdominal Pain, and Sepsis

Parameters

  • 1 - (Required) Title of the first adult page.
  • 2 - (Optional) Title of the second adult page.
  • 3 - (Optional) Title of the third adult page.

Example

This page is for adult patients. For pediatric patients, see: Appendicitis and Sepsis