Jump to content

Template:WikiProject Ships/testcases

From Wikipedia, the free encyclopedia

Test of new code for Template:WikiProject ShipsPurge this page

Test case 1

[edit]

Add a sentence directing editors to see the banner instructions

Current Template:WikiProject Ships

[edit]
WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Template:WikiProject Ships/sandbox

[edit]
WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Solution

[edit]

Add the line in the appropriate case

Test case 2

[edit]

The second link for class rating did not point to the appropriate WikiProject Ships scale

Current Template:WikiProject Ships

[edit]
WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Template:WikiProject Ships/sandbox

[edit]
WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Solution

[edit]

Change the link the three times it appeared in the code.

Test case 3

[edit]

Request made to have the banner recognize the new Redirect-Class, assign articles to Category:Redirect-Class Ships articles, and auto-assess as NA-importance. These test cases will need to be pasted onto a talk page. (Try: Talk:A Test Page.)

Current Template:WikiProject Ships

[edit]

{{WikiProject Ships|class=Redirect}}

WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Template:WikiProject Ships/sandbox

[edit]

{{WikiProject Ships/sandbox|class=Redirect}}

WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Test case 4

[edit]

Request made to have the banner recognize the new Project-Class and Portal-Class, assign to the appropriate categories (Category:Project-Class Ships articles and Category:Portal-Class Ships articles) and continue to auto assess as NA-importance. These examples may need to be pasted and previewed in different namespaces to verify results. (Try: Wikipedia:A Test Page and Portal talk:A Test Portal

Current Template:WikiProject Ships

[edit]

{{WikiProject Ships}}

WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.

Template:WikiProject Ships/sandbox

[edit]

{{WikiProject Ships/sandbox}}

WikiProject iconShips Unassessed
WikiProject iconThis article is within the scope of WikiProject Ships, a project to improve all Ship-related articles. If you would like to help improve this and other articles, please join the project, or contribute to the project discussion. All interested editors are welcome. To use this banner, please see the full instructions.WikiProject icon
???This article has not yet received a rating on Wikipedia's content assessment scale.