עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=expandframe
(main | expandframe)
- יחידה זו דורשת הרשאות קריאה.
- מקור: DebugTemplates
- רישיון: CC-BY-SA-3.0
Expand templates and parameters in wikitext assuming a specific frame context.
פרמטרים ייעודיים:
זמינים פרמטרים כלליים אחרים.
- text
The wikitext to expand.
- הפרמטר הזה נדרש.
- frame
The frame context as a JSON-encoded map between parameter names and values.
- ברירת המחדל: {}
- title
A page title for context.
- ברירת המחדל: API
דוגמה:
- Parse wikitext {{{a}}} with defined frame context.
- api.php?action=expandframe&text={{{a}}}&frame={"a":"b"} [פתיחה בארגז חול]