Template:Existlist

Example Usage
[[{{existlist|A|B|C|Wikibooks:Sandbox|E|F|G}}]]
Result
C
Example Usage
[[{{existlist|A|B|C|Wikibooks:Sandbox|E|F|G}}|click here]]
Result
click here
What it does
returns the name of the first page which exists up to 10 max.