Template:AdultPage: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly><translate><!--T:8-->
<includeonly><div class="hatnote" style="font-style: italic;">
''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>
{{#switch: {{CONTENTLANGUAGE}}
| es = Esta página es para pacientes <u>adultos</u>. Para pacientes pediátricos, ver:
| fr = Cette page est pour les patients <u>adultes</u>. Pour les patients pédiatriques, voir:
| #default = This page is for <u>adult</u> patients. For pediatric patients, see:
}} <!--
-->[[{{{1}}}]]<!--
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&#32;{{#switch:{{CONTENTLANGUAGE}}|es=y|fr=et|#default=and}}&#32;}}[[{{{2}}}]]}}<!--
-->{{#if:{{{3|}}}|, {{#switch:{{CONTENTLANGUAGE}}|es=y|fr=et|#default=and}} [[{{{3}}}]]}}
</div></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>

Latest revision as of 13:04, 17 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