Template:PediatricPage: Difference between revisions

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


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


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


=== Example ===
; Two pages:
{{PediatricPage|Appendicitis}}
: {{PediatricPage|Appendicitis|Abdominal_pain}}
: Output: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis and/or Abdominal_pain''


; 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 19:55, 15 January 2026


Usage

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

This template creates links to specified adult pages and should be used on the top of PEDIATRIC pages.

Parameters

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

Examples

Single page
<translate>

This page is for pediatric patients. For adult patients, see: </translate>Appendicitis

Output: This page is for pediatric patients. For adult patients, see: Appendicitis
Two pages
<translate>

This page is for pediatric patients. For adult patients, see: </translate>Appendicitisand/orAbdominal_pain

Output: This page is for pediatric patients. For adult patients, see: Appendicitis and/or Abdominal_pain
Three pages
<translate>

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

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