Template:InternalLinkCounter
From Wikipedia, the free encyclopedia
This template uses Lua: |
Usage
This template has only one parameter and can insert a wikitext, and returns only the number of blue and red internal links (excluding external links) in the given text. Returns "0" if there is no internal link. This can be used with other templates, ParserFunctions and singular and plural cases.
Examples
{{InternalLinkCounter|[[Wikipedia]]}}
→ 1{{InternalLinkCounter|[[Wikipedia]] and [[Wiktionary]]}}
→ 2
Does not count external links and empty internal links:
{{InternalLinkCounter|[https://en.wikipedia.org Wikipedia] and [[]]}}
→ 0
The following shows examples of some articles and number of their internal link(s). Unintentionally "Full article..." link counted too. Purge
The arts or creative arts are a vast range of human practices of creative expression, storytelling, and cultural participation. The arts encompass multiple diverse and plural modes of thinking, doing, and being, in an extremely broad range of media. Both dynamic and a characteristically constant feature of human life, they have developed into stylized and intricate forms. This is achieved through sustained and deliberate study, training, or theorizing within a particular tradition, across generations, and even between civilizations. The arts are a vehicle through which human beings cultivate distinct social, cultural, and individual identities while transmitting values, impressions, judgements, ideas, visions, spiritual meanings, patterns of life, and experiences across time and space.
Prominent examples of the arts include: visual arts (including architecture, ceramics, drawing, filmmaking, painting, photography, and sculpting), literary arts (including fiction, drama, poetry, and prose), and performing arts (including dance, music, and theatre). They can employ skill and imagination to produce objects and performances, convey insights and experiences, and construct new environments and spaces. (Full article...)
See also
- {{Counter}} – To count the parameters of a template
- {{Word count}} – To count number of words
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.