This is a documentation subpage for Template:Dot-equivalent. It may contain usage information, categories and other content that is not part of the original template page. |
Usage edit
This replicates an #if:
check, but strips periods/full dots from the arguments.
{{Dot-equivalent|STRING1|STRING2|OUTPUT IF SAME|OUTPUT IF DIFFERENT}}
For instance
{{Dot-equivalent|Appl. Phys. Lett.|Appl Phys Lett|Same|Different}}
gives
- Same
while
{{Dot-equivalent|Appl. Phys. Lett.|ApplPhysLett|Same|Different}}
gives
- Different