Template:Lw/doc

This template creates conditional Wikibook / Wikipedia links. If the given Wikibook article exists, the link will appear as a link to the native Wikibook article. If the given Wikibook article does not exist, the template displays a Wikipedia link with the same name instead.

Usage
One parameter format displays the Wiki link with a leading w:
 * generates
 * generates

Two parameter format displays the Wiki link as a native link (no leading w: displayed):
 * generates Wikibook link
 * generates Wikipedia link
 * If the Wikibook page "Unknown" were to be created, Wikipedia Unknown was 's previous function.