Шаблон:Falseredirect

Сюда перенаправляется запрос «[{{fullurl:{{{1}}}|redirect=no}} {{{1}}}]». На эту тему нужна [{{fullurl:{{{1}}}}}?action=edit отдельная статья].*:first-child,.mw-parser-output .ts-doc-footer>*:first-child{margin-top:.5em}.mw-parser-output .ts-doc-content>*:last-child,.mw-parser-output .ts-doc-footer>*:last-child{margin-bottom:.5em}.mw-parser-output .ts-doc-footer{background-color:#eaf3ff;border:1px solid #a3caff;padding:.214286em 1em;margin-top:.214286em;margin-bottom:.214286em;font-style:italic}@media(max-width:719px){.mw-parser-output .ts-doc-header .ts-tlinks-tlinks{float:none}}]]>Документация[просмотр | править | история | обновить]

Содержание

Шаблон ставится в начало статьи, на которую ведёт перенаправление, вместо которого желательно создать статью. В самом перенаправлении нужно поставить шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{R with possibilities}}.

Другие названия этого шаблона: .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{ложное перенаправление}}, .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{ЛП}}, .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{нужна статья}}, .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{отдельная статья}}.

Использование

Пример: хотим указать, что вместо перенаправления «SN 1054» → «Крабовидная туманность» нужно создать статью.

В статье «Крабовидная туманность» ставится шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falseredirect|SN 1054}}, в перенаправлении «SN 1054» ставится шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{R with possibilities}}.

Викиданные

Желательно привязать перенаправление «SN 1054» к элементу Викиданных и поставить шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{wikidata-redirect}} (это объяснено в документации шаблона .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{wikidata-redirect}}). Тогда получится

{{falseredirect|SN 1054}}↓Сюда перенаправляется запрос «SN 1054». На эту тему нужна отдельная статья.

Если же перенаправление не будет привязано к Викиданным, то «[d]» будет отсутствовать, а статья с шаблоном .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falseredirect}} будет помещена к категорию .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>Википедия:Статьи с шаблоном Falseredirect, который не находит источник.

Несколько перенаправлений

Можно указать более одного перенаправления:

{{falseredirect|Гагарообразные|Гагаровые}}↓Сюда перенаправляется запрос «Гагарообразные». На эту тему нужна отдельная статья.

Если статья существует

Если страница, указанная в шаблоне .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falseredirect}}, существует и не является перенаправлением, то шаблон будет выглядеть так:

{{falseredirect|Энциклика}}↓Сюда перенаправляется запрос «Энциклика». На эту тему нужна отдельная статья.

и поместит страницу, на которой стоит шаблон, в категорию .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>Википедия:Статьи с неактуальным шаблоном Falseredirect.

Если шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falseredirect}} стоит в начале статьи, его нужно просто убрать. Если он стоит в каком-то разделе, нужно также рассмотреть возможность поставить взамен шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{основная статья}}:

{{основная статья|Энциклика}}↓Основная статья: Энциклика

Также следует:

  • При необходимости связать страницу, указанную в шаблоне .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{falseredirect}}, с интервиками.
  • Проверить, что статья, в которой стоит шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{falseredirect}}, и статья, на которую он указывает, связаны вики-ссылками (если это нужно); возможно, добавить в начало .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{не путать}} или добавить ссылки в раздел «См. также».

Альтернативы

Если шаблон размещается в разделе, стоит рассмотреть возможность взамен установить шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{основная статья}} со ссылкой через шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{iw}}:

{{основная статья|{{iw|Архаическая латынь||en|Old Latin}}}}↓Основная статья: Архаическая латынь[en]*

Категории

Шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falseredirect}} включает статью (в примере — «Крабовидная туманность»), в которой он установлен, в категорию .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>Википедия:Статьи с шаблоном Falseredirect.

Само перенаправление (в примере — «SN 1054») требуется включить в категорию .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>Перенаправления, вместо которых желательно создать статьи. Для этого в неё следует добавить шаблон .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{R with possibilities}}.

См. также

  • .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falseredirect/основа}}
  • .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Перенаправление}}
  • .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Falsedisambig}}
  • .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Wikidata-redirect}}
  • .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{R with possibilities}}
  • .ts-templateCallCode-weak:first-child>.ts-templateCallCode-pipe:first-child{margin-left:0}.mw-parser-output .ts-templateCallCode-param+.ts-templateCallCode-closing{margin-left:2px}.mw-parser-output span.ts-templateCallCode>.ts-templateCallCode-templateName a{padding:0 0.5em!important;position:relative;margin:-0.5em}]]>{{Interwiki extra}}

TemplateData

Нет описания.

[Править данные шаблона]

Параметры шаблона

Параметр Описание Тип Статус
Перенаправление, вместо которого нужно создать статью 1

без описания

Имя страницы обязательный

*:first-child,.mw-parser-output .ts-doc-footer>*:first-child{margin-top:.5em}.mw-parser-output .ts-doc-content>*:last-child,.mw-parser-output .ts-doc-footer>*:last-child{margin-bottom:.5em}.mw-parser-output .ts-doc-footer{background-color:#eaf3ff;border:1px solid #a3caff;padding:.214286em 1em;margin-top:.214286em;margin-bottom:.214286em;font-style:italic}@media(max-width:719px){.mw-parser-output .ts-doc-header .ts-tlinks-tlinks{float:none}}]]>

Во избежание поломок страниц, использующих этот шаблон, экспериментируйте в песочнице (редактировать | разница | тесты) или своём личном пространстве.
Пожалуйста, добавляйте категории на подстраницу /doc. Подстраницы этого шаблона.