Template:PediatricPage: Difference between revisions

No edit summary
Tag: Reverted
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>[[Special:MyLanguage/{{{1}}}|{{{1}}}]]<!--
    not on the pages where the template is used. --><languages /></noinclude><includeonly><translate><!--T:15-->
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |<translate> and/or </translate>}}[[Special:MyLanguage/{{{2}}}{{!}}{{{2}}}]]}}<!--
<!-- intro text -->
-->{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{3}}}{{!}}{{{3}}}]]}}<!--
''This page is for <u>pediatric</u> patients. For adult patients, see: </translate><!--
-->{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{4}}}{{!}}{{{4}}}]]}}<!--
  LINK 1 (Always required)
-->{{#if:{{{5|}}}|{{#if:{{{6|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{5}}}{{!}}{{{5}}}]]}}<!--
-->[[Special:MyLanguage/{{{1}}}|{{{1}}}]]<!--  
-->{{#if:{{{6|}}}|{{#if:{{{7|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{6}}}{{!}}{{{6}}}]]}}<!--
  LINK 2
-->{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |<translate>, and/or </translate>}}[[Special:MyLanguage/{{{7}}}{{!}}{{{7}}}]]}}<!--
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |<translate> and/or </translate>}}[[Special:MyLanguage/{{{2}}}|{{{2}}}]]}}<!--  
-->{{#if:{{{8|}}}|<translate>, and/or </translate>[[Special:MyLanguage/{{{8}}}{{!}}{{{8}}}]]}}''</includeonly>
  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 ==
 
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.
 
=== Parameters ===
* '''1''' - The title of the first page to link to.
* '''2...8''' - (Optional) Additional page titles.
 
=== Example ===
'''Single page:'''
: <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>

Revision as of 20:20, 15 January 2026