Template:PediatricPage: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly><span class="hatnote" style="font-style: italic;">
<!-- The language bar is inside noinclude so it ONLY appears on the Template page,
{{#switch: {{CONTENTLANGUAGE}}
    not on the pages where the template is used. --><languages /></noinclude><includeonly><translate><!--T:15-->
| es = Esta página es para pacientes <u>pediátricos</u>. Para pacientes adultos, ver:
<!-- intro text -->
| fr = Cette page est pour les patients <u>pédiatriques</u>. Pour les patients adultes, voir:
''This page is for <u>pediatric</u> patients. For adult patients, see: </translate><!--  
| #default = This page is for <u>pediatric</u> patients. For adult patients, see:
  LINK 1 (Always required)
}} &#32;<!--
-->[[Special:MyLanguage/{{{1}}}|{{{1}}}]]<!--  
-->[[{{{1}}}]]<!--
  LINK 2
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&#32;{{#switch:{{CONTENTLANGUAGE}}|es=y|fr=et|#default=and}}&#32;}}[[{{{2}}}]]}}<!--
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |<translate> and/or </translate>}}[[Special:MyLanguage/{{{2}}}|{{{2}}}]]}}<!--
-->{{#if:{{{3|}}}|, {{#switch:{{CONTENTLANGUAGE}}|es=y|fr=et|#default=and}} [[{{{3}}}]]}}</span></includeonly><noinclude>
  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 ==
This template creates a customized disclaimer linking to up to 3 adult pages. It should be placed at 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.
; One link
: {{PediatricPage|Appendicitis}}
; Two links
: {{PediatricPage|Appendicitis|Abdominal Pain}}
; Three links
: {{PediatricPage|Appendicitis|Abdominal Pain|Sepsis}}


=== Parameters ===
=== Parameters ===
* '''1''' - The title of the first page to link to.
* '''1''' - (Required) Title of the first adult page.
* '''2...8''' - (Optional) Additional page titles.
* '''2''' - (Optional) Title of the second adult page.
* '''3''' - (Optional) Title of the third adult page.


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


</noinclude>
</noinclude>

Latest revision as of 17:30, 17 January 2026


Usage

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

One link

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

Two links

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

Three links

This page is for pediatric patients. For adult 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 pediatric patients. For adult patients, see: Appendicitis and Sepsis