模板:UpdateNeededForNewDevice

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年11月3日 (二) 16:42的版本 (创建页面,内容为“<noinclude> ==Usage== The UpdateNeededForNewDevice template is used '''to tag either a file, an article, a template, a chapter…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

The UpdateNeededForNewDevice template is used to tag either a file, an article, a template, a chapter or a sentence that needs to be updated when a new microprocessor device is added in the wiki.

It doesn't put anything seen by the reader in the page: it is only a kind of "phantom" tag. To retrieve all the pages that contain this tag (and so that need to be updated because a new microprocessor device is added in the wiki), it is enough to display the pages that links this template. Then, searching for "UpdateNeededForNewDevice" in each page gives all the places where updates are needed.

Usage:  {{UpdateNeededForNewDevice | <comment>}}

Where <comment> is the optional comment to help updating .

Basic examples

You type You get
Update needed for new microprocessor device without comment
Here is the list of the supported microprocessor devices:{{UpdateNeededForNewDevice}}
* M1
* M2

Here is the list of the supported microprocessor devices:

  • M1
  • M2
Update needed for new microprocessor device with comment
This demonstration can be executed on boards that embeds the STM32MP157 microprocessor device.{{UpdateNeededForNewDevice|Check if the demonstration can also be executed on boards that embed the new microprocessor device}}

This demonstration can be executed on boards that embeds the STM32MP157 microprocessor device.

Code