Шаблон:Карточка

Материал из marketing-wiki.ru
Перейти к навигации Перейти к поиску

This is a greatly simplified adaptation of the template from wikipedia:Шаблон:Карточка.

This version embeds semantic annotation inside the template, so the template both displays information in a table and records semantically meaningful properties. Such semantic templates simplify adding semantics to recurring elements in wiki pages.

Note this table does not handle missing values for Population and Area. That can be done using {{#if:}} from the MediaWiki ParserFunctions extension, but using conditionals in a table requires tricky syntax to mix pipe ' | ' symbols for layout and expressions (see wikipedia:Wikipedia:Conditional_tables).

The table appears below in this template page (we could hide it with ). You don't see any factbox for this dummy table because in this Semantic MediaWiki installation, semantic annotations are not enabled in the Template namespace.

{{{Name}}}
Автор {{{Автор}}}
просмотров {{{количество просмотров}}}


] 
Источник — https://marketing-wiki.ru/index.php?title=Шаблон:Карточка&oldid=5455