Help:結構式討論/预览

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Help:Structured Discussions/Preloading and the translation is 22% complete.
Other languages:
Bahasa Indonesia • ‎English • ‎català • ‎français • ‎norsk bokmål • ‎polski • ‎中文 • ‎日本語
PD 注意:当您编辑本页面时,即代表同意以CC0协议授权您的贡献。您可以在公有领域帮助页面找到更多信息。
PD

Preloading contents

It is possible to preload some contents with Structured Discussions. You can create a link with some parameters, and these parameters will preload the Title and the text fields.

To do this, you can use these two parameters on a Structured Discussions Board:

  • topiclist_preloadtitle= - will preload the Title field with the text you add after the =
  • topiclist_preload= - will preload the text field with a page (usually as subpage) that you call after the = (does not works with simple text)

例子

If there is no content on given page, nothing is preloaded.

Current limitations

It is not possible to preload the Summary at the moment.

It is not possible to preload Templates at the moment.

It is not possible to preload simple text on the message field: topiclist_preload=Hello will not work.

It is not possible to add preloadparams.

小贴士

  • 不要翻译参数
  • Use magic words like canonicalurl or urlencode to be sure your link will work with special characters or spaces on your wiki.