There are two ways to attribute open license text in Wikipedia, either through the Visual editor or the Source editor. Text from multiple pages of the same source can be attributed at the same time using page numbers, when using text from more than one source please attribute separately.
Copy and paste the open license text into a Wikipedia article.
Create a section called Sources above the References section and click Insert on the editing toolbar and select Template.
Paste Free-content attribution into the box, click the first option and then click add template
Add the relevant information into the Title, Author, Publisher, Source, URL, License statement URL (if not stated within the document) fields and License (e.g. CC-BY-SA).
Click Publish changes and add added open license text, see the Sources section for more information to the edit summary.