Открыть главное меню
Главная
Случайная
Войти
Настройки
О Библиотека Теопедии
Отказ от ответственности
Библиотека Теопедии
Найти
Изменения
← Предыдущая правка
Следующая правка →
Модуль:CTD
(просмотреть исходный код)
Версия 02:39, 15 марта 2023
137 байт убрано
,
02:39, 15 марта 2023
м
Нет описания правки
Строка 137:
Строка 137:
if isempty(view) then view = 'подсказка' end
if isempty(view) then view = 'подсказка' end
if isempty(term_type) then term_type = 'понятие' end
if isempty(term_type) then term_type = 'понятие' end
−
if isempty(style) then style = 'серый' end
+
--
if isempty(style) then style = 'серый' end
-- define term to show, i.e. with accent and diacritic
-- define term to show, i.e. with accent and diacritic
Строка 209:
Строка 209:
-- DEBUG
-- DEBUG
−
--text = '
<p>DEBUG:
view
:
'.. view
.."; term: ".. term .."; term to show: ".. term_to_show .."; description: ".. description .."; origin: ".. origin
..'
</p>'.. text
+
--text = '
-
view
=
'.. view ..'
\n
-
type
='..
term_type
..'
\n- style
='..
tostring(style)
..'
\n- text
='..
text
..'
\n
'
−
-
-text = 'text
='..
text
..'
; view
='..
view
..'
; type
='..
term_type
..'
; style=
'
.. style
--return text .. reference
--return text .. reference
return frame:preprocess( text .. reference )
return frame:preprocess( text .. reference )
end
end
−
−
return ctd
return ctd
Павел Малахов
Бюрократы
,
Администраторы интерфейса
,
Администраторы (Semantic MediaWiki)
,
Кураторы (Semantic MediaWiki)
,
Editors (Semantic MediaWiki)
,
Скрывающие
,
Администраторы
, trusted
56 291
правка