Document Transcript Swapper

NOTICE:

This is a component page used internally by the SCP Wiki. It is intended to be used and included on other pages.

What this is

This page contains the source code for the Document Transcript Swapper component. If you have an image with text you want to include in your article, this component can be used to give the reader the option to view a transcribed version.

Usage

[[include :scp-wiki:component:doc-transcript-swapper start=--
|image= image.png
|totrans= Show Transcribed Document
|toimage= Show Original Document]]
Write the transcript of the image's text here
[[include :scp-wiki:component:doc-transcript-swapper end=--]]

Don't remove any of the pipe symbols! (|)

image The image to display.
totrans
Default: "Show Transcribed Document"
The text of the swap button when the image is displayed.
toimage
Default: "Show Original Document"
The text of the swap button when the transcript is displayed.
showimg
Default: 1
If 0, the transcript will be shown by default. If 1, the image will be shown by default.

Pages in this component:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License