Jump to content

Template:Dablinks/testcases

From Wikipedia, the free encyclopedia

Regression

[edit]
{{dablinks}}
{{dablinks|date={{CURRENTMONTH}} {{CURRENTYEAR}}}}

Positional params 1-10

[edit]

Adding new positional params 1-10, to provide an optional way to specify the list of links that should be looked at. This is related to Template talk:Dablinks#Broken links.

War of 1812

These are actual dablinks for War of 1812, provided by PetScan. The PetScan results gave seven links, as shown in the last test below:

Test just one param:

{{Dablinks}}
{{Dablinks|1=Moraviantown}}
{{Dablinks/sandbox}}
{{Dablinks/sandbox|1=Moraviantown}}
{{Dablinks/sandbox|1=Moraviantown|date={{CURRENTMONTH}} {{CURRENTYEAR}}}}


{{Dablinks|Moraviantown}}
{{Dablinks|Moraviantown|Revolutionary War|James Dacres|John Lambert|Six Nations|St. Simons|Saint-Simon}}
{{Dablinks/sandbox|Moraviantown}}
{{Dablinks/sandbox|Moraviantown|Revolutionary War|James Dacres|John Lambert|Six Nations|St. Simons|Saint-Simon}}
{{Dablinks/sandbox|Moraviantown|Revolutionary War|James Dacres|John Lambert|Six Nations|St. Simons|Saint-Simon|date={{CURRENTMONTH}} {{CURRENTYEAR}}}}
Khan Kandi, Germi

This test is from the article Khan Kandi, Germi, mentioned in this discussion:

{{Dablinks}}
{{Dablinks|1=Balaban}}
{{Dablinks/sandbox}}
{{Dablinks/sandbox|1=Balaban}}
{{Dablinks/sandbox|1=Balaban|date={{CURRENTMONTH}} {{CURRENTYEAR}}}}


{{Dablinks|Balaban}}
{{Dablinks|Balaban|Salavat|Shahin}}
{{Dablinks/sandbox|Balaban}}
{{Dablinks/sandbox|Balaban|Salavat|Shahin}}
{{Dablinks/sandbox|Balaban|Salavat|Shahin|date={{CURRENTMONTH}} {{CURRENTYEAR}}}}

See also

[edit]