Template:InternalLinkCounter
Template:InternalLinkCounter
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
Philosophy (φιλοσοφία, 'love of wisdom', in Ancient Greek) is a systematic study of general and fundamental questions concerning topics like existence, reason, knowledge, value, mind, and language. It is a rational and critical inquiry that reflects on its own methods and assumptions.
Historically, many of the individual sciences, such as physics and psychology, formed part of philosophy. However, they are considered separate academic disciplines in the modern sense of the term. Influential traditions in the history of philosophy include Western, Arabic–Persian, Indian, and Chinese philosophy. Western philosophy originated in Ancient Greece and covers a wide area of philosophical subfields. A central topic in Arabic–Persian philosophy is the relation between reason and revelation. Indian philosophy combines the spiritual problem of how to reach enlightenment with the exploration of the nature of reality and the ways of arriving at knowledge. Chinese philosophy focuses principally on practical issues in relation to right social conduct, government, and self-cultivation. (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.