Template:EpiphanyHelpText: Difference between revisions

From Epiphany
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#tag:div||class=epiphanyhelptext|data-id={{{1}}}}}
{{#tag:div||class=epiphanyhelptext|data-helptype={{{1}}}|data-id={{{2}}} }}
<noinclude>
<noinclude>
This template is used to create a placeholder div, with the class of 'epiphanyhelptext', on the wiki page with a data attribute. The data attribute contains the database ID of a help text article.
<kbd><nowiki>{{EpiphanyHelpText|Detail|31}}</nowiki></kbd>


The template gets populated by an AJAX call that is defined in Mediawiki:Common.js.
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
The database calls are handled by this PHP file: extensions/EpiphanyHelpText/helptext.php
</noinclude>
</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