Template:PediatricPage: Difference between revisions
Ostermayer (talk | contribs) No edit summary Tag: Reverted |
Ostermayer (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<noinclude><languages /></noinclude><includeonly><translate><!--T:15--> | <noinclude> | ||
''This page is for <u>pediatric</u> patients. For adult patients, see: </translate> | <!-- The language bar is inside noinclude so it ONLY appears on the Template page, | ||
not on the pages where the template is used. --><languages /></noinclude><includeonly><translate><!--T:15--> | |||
<!-- intro text --> | |||
''This page is for <u>pediatric</u> patients. For adult patients, see: </translate><!-- | |||
LINK 1 (Always required) | |||
-->[[Special:MyLanguage/{{{1}}}|{{{1}}}]]<!-- | |||
LINK 2 | |||
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |<translate> and/or </translate>}}[[Special:MyLanguage/{{{2}}}|{{{2}}}]]}}<!-- | |||
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 links to specified adult pages and should be used on 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. | ||
=== Parameters === | === Parameters === | ||
* '''1 | * '''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> | |||
: {{PediatricPage|Appendicitis}} | : Result: ''This page is for <u>pediatric</u> patients. For adult patients, see: Appendicitis and/or Abdominal pain'' | ||
: | |||
'''Multiple pages:''' | |||
: {{PediatricPage|Appendicitis| | : <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> | ||
Revision as of 20:11, 15 January 2026
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:
{{PediatricPage|Appendicitis}}- Result: This page is for pediatric patients. For adult patients, see: Appendicitis
Two pages:
{{PediatricPage|Appendicitis|Abdominal pain}}- Result: This page is for pediatric patients. For adult patients, see: Appendicitis and/or Abdominal pain
Multiple pages:
{{PediatricPage|Appendicitis|Abdominal pain|Fever}}- Result: This page is for pediatric patients. For adult patients, see: Appendicitis, Abdominal pain, and/or Fever
