Шаблон:Glossary preload — различия между версиями

Материал из ANT-Inform documentation
Перейти к: навигация, поиск
(Test use of Page preload: http://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text (http://meta.wikimedia.org/wiki/Template:Preload_demo))
 
м (Hubbitus переименовал страницу АИС РГ в Шаблон:Glossary preload без оставления перенаправления: Ошибка)
(нет различий)

Версия 18:12, 27 октября 2014

Includeonly part, works with preload.

This is inside noinclude tags, but preloaded anyway, preloading preserves the noinclude tags.


The following is in pre tags, the includeonly tags are removed on preload anyway:

{{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>FULLPAGENAME}}|Template:Preload demo|Noinclude part, works with preload. [[Category:Test pages]]|Includeonly part, works with preload.}}<noinclude>

This is inside noinclude tags, but preloaded anyway, preloading preserves the noinclude tags.</noinclude>

<includeonly>
This is originally inside includeonly tags; preloading removes the tags.
</includeonly>

<inputbox>
type=create
buttonlabel=Create Report
</inputbox>

In the following the noinclude and includeonly tags are inside nowiki tags; like with pre, the includeonly tags are removed on preload anyway:

Includeonly part, works with preload.<noinclude>

This is inside noinclude tags, but preloaded anyway, preloading preserves the noinclude tags.</noinclude><includeonly>

This is originally inside includeonly tags; preloading removes the tags.</includeonly>

Thus, noinclude tags as text can as usual be put inside pre or nowiki tags. However, for includeonly tags as text this does now work. Instead, replace the "<" with "&lt;".

  • Here are <includeonly> and </includeonly> as text.
  • This produces regular includeonly tags on preload: <includeonly> and </includeonly>.