Template:EpiphanyHelpText: Difference between revisions
From Epiphany
mNo edit summary |
mNo edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{#tag:div||class=epiphanyhelptext|data-id={{{ | {{#tag:div||class=epiphanyhelptext|data-helptype={{{1}}}|data-id={{{2}}} }} | ||
<noinclude> | |||
<kbd><nowiki>{{EpiphanyHelpText|Detail|31}}</nowiki></kbd> | |||
This template is used to create a placeholder div, with the class of 'epiphanyhelptext', on the wiki page with two data attributes. The first parameter is one of these keywords: '''Screen''', '''Detail''', or '''Field'''. The second data attribute contains the database ID of the help text article. | |||
The template gets populated by an AJAX call that is defined in [[Mediawiki:Common.js]]. | |||
The database calls are handled by this PHP file: extensions/EpiphanyHelpText/helptext.php | |||
</noinclude> | |||
Latest revision as of 03:22, 3 May 2023
{{EpiphanyHelpText|Detail|31}}
This template is used to create a placeholder div, with the class of 'epiphanyhelptext', on the wiki page with two data attributes. The first parameter is one of these keywords: Screen, Detail, or Field. The second data attribute contains the database ID of the help text article.
The template gets populated by an AJAX call that is defined in Mediawiki:Common.js.
The database calls are handled by this PHP file: extensions/EpiphanyHelpText/helptext.php