Template:AdultPage: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude><languages /></noinclude><includeonly><translate><!--T:8-->
<!-- The language bar is inside noinclude so it ONLY appears on the Template page,
''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>
    not on the pages where the template is used. --><languages /></noinclude><includeonly><translate><!--T:8-->
 
<!--The tvar tag protects the parameter syntax from being modified by translators-->
''This page is for <u>adult</u> patients. For pediatric patients, see: [[Special:MyLanguage/<tvar name="1">{{{1}}}</tvar>|<tvar name="1">{{{1}}}</tvar>]]''</translate></includeonly><noinclude>
== Usage ==
== Usage ==
{{AdultPage|Appendicitis_(peds)}}
{{AdultPage|Appendicitis_(peds)}}
{{AdultPage|Appendicitis_(peds)|Abdominal_pain_(peds)}}
{{AdultPage|Page1|Page2|Page3}}


This template creates a simple link to a specified pediatric page and should be used on the top of an ADULT page.
This template creates links to specified pediatric pages and should be used on the top of an ADULT page.


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


=== Example ===
; Two pages:
{{AdultPage|Appendicitis_(peds)}}
: {{AdultPage|Appendicitis_(peds)|Abdominal_pain_(peds)}}
: 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 19:53, 15 January 2026


Usage

<translate> This page is for adult patients. For pediatric patients, see: </translate>Appendicitis_(peds) <translate> This page is for adult patients. For pediatric patients, see: </translate>Appendicitis_(peds)and/orAbdominal_pain_(peds) <translate> This page is for adult patients. For pediatric patients, see: </translate>Page1,Page2, and/orPage3

This template creates links to specified pediatric pages and should be used on the top of an ADULT page.

Parameters

  • 1, 2, 3... - The titles of the pediatric pages to link to (up to 5)

Examples

Single page
<translate>

This page is for adult patients. For pediatric patients, see: </translate>Appendicitis_(peds)

Output: This page is for adult patients. For pediatric patients, see: Appendicitis_(peds)
Two pages
<translate>

This page is for adult patients. For pediatric patients, see: </translate>Appendicitis_(peds)and/orAbdominal_pain_(peds)

Output: This page is for adult patients. For pediatric patients, see: Appendicitis_(peds) and/or Abdominal_pain_(peds)
Three pages
<translate>

This page is for adult patients. For pediatric patients, see: </translate>Page1,Page2, and/orPage3

Output: This page is for adult patients. For pediatric patients, see: Page1, Page2, and/or Page3