Template:AdultPage: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><div class="hatnote" style="font-style: italic;">
<includeonly><div class="hatnote" style="font-style: italic;">
<!-- 1. Static Text Wrapper -->
{{#switch: {{CONTENTLANGUAGE}}
<span>This page is for <u>adult</u> patients. For pediatric patients, see:</span> <!--
| es = Esta página es para pacientes <u>adultos</u>. Para pacientes pediátricos, ver:
| fr = Cette page est pour les patients <u>adultes</u>. Pour les patients pédiatriques, voir:
| #default = This page is for <u>adult</u> patients. For pediatric patients, see:
}} <!--
-->[[{{{1}}}]]<!--
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&#32;{{#switch:{{CONTENTLANGUAGE}}|es=y|fr=et|#default=and}}&#32;}}[[{{{2}}}]]}}<!--
-->{{#if:{{{3|}}}|, {{#switch:{{CONTENTLANGUAGE}}|es=y|fr=et|#default=and}} [[{{{3}}}]]}}
</div></includeonly><noinclude>


--><!-- 2. Link Logic with Special:MyLanguage -->
[[Special:MyLanguage/{{{1}}}|{{#if:{{{1_label|}}}|{{{1_label}}}|{{{1}}}}}]]<!--


-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&#32;and&#32;}}[[Special:MyLanguage/{{{2}}}|{{#if:{{{2_label|}}}|{{{2_label}}}|{{{2}}}}}]]}}<!--
-->{{#if:{{{3|}}}|, and [[Special:MyLanguage/{{{3}}}|{{#if:{{{3_label|}}}|{{{3_label}}}|{{{3}}}}}]]}}<!--
-->.</div></includeonly><noinclude>
== Usage ==
== Usage ==
This template creates a customized disclaimer linking to up to 3 pediatric pages. It should be placed at the top of ADULT pages.
This template creates a customized disclaimer linking to up to 3 pediatric pages. It should be placed at the top of ADULT pages.

Latest revision as of 13:04, 17 January 2026


Usage

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

One link

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

Two links

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

Three links

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