Шаблон:Note/Документация

Материал из Tau Ceti Station Wiki
Перейти к навигации Перейти к поиску

Шаблон предназначен для создания боковых ссылок с важной и очень длинной информацией или для убирания со страницы лишних роликов Ютуб. Представляет собой разворачивающуюся таблицу шириной 110 px в свёрнутом и 400 px — в развёрнутом. Шаблон следует добавлять в начало абзаца.

Шаблон функционально и графически схож с {{Column}}.

Шаблон имеет три параметра ({{Note|1|2|3|clear}}):

  1. Вид примечания (может принимать значения: пусто (nota bene), dr (драма), yt (YouTube), at (внимание), lm (lurkmore), sm (смехуёчки)).
  2. Текст примечания. Для типа yt — адреса ролика.
  3. Дополнительный параметр. Для версии yt — подпись к ролику. В остальных случаях значение * уменьшает шрифт вводимого текста.
  4. Дополнительный параметр clear контролирует интеракцию с соседними элементами. По умолчанию (clear=right). Доступные значения: left, right, both, none, inherit.

Примеры использования

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.

Burbage dies, hedwig dies, mad-eye dies, scrimgeour dies, wormtail dies, dobby dies, snape dies, fred weasley dies, harry dies, but comes back to life, voldemort dies, tonks dies, lupin dies, colin creevy dies, ron marries hermione;they have two kids: hugo and rose, harry, marries ginny;they have three kids: james, lily, and albus severus, sirius dies, dumbledore dies.