private PrependTemplate ( |
||
template | ||
parameterBreak | string | |
text | string | |
Результат | void |
private void TemplateWritingAndPlacement() { string templateHeader = WriteTemplateHeader(); if (Template.FoundTemplate) { // Write it back where it was templateHeader += Template.ParametersToString(ParameterBreak); TheArticle.RestoreTemplateToPlaceholderSpot(templateHeader); } else { // Our template wasn't found, write it to the top of the page TheArticle.PrependTemplate(Template, ParameterBreak, templateHeader); } }